fix: add missing ref parameter to SatSymbol forwardRef component (#22274)

- Fixed forwardRef render function to accept both props and ref parameters
- Added ref prop to SVG element to properly forward the ref
- Resolves React error: 'forwardRef render functions accept exactly two parameters: props and ref'

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
Eunjae LeeandDevin AI authored and GitHub committed 2025-07-17 20:52:00 +00:00
1 parent 4dc22606d9
commit f4b48e863b
1 file changed
+5 -1
+5 -1
View File
@@ -1,8 +1,12 @@
import React, { forwardRef } from "react";
export const SatSymbol = forwardRef<SVGSVGElement, React.SVGProps<SVGSVGElement>>(function SatSymbol(props) {
export const SatSymbol = forwardRef<SVGSVGElement, React.SVGProps<SVGSVGElement>>(function SatSymbol(
props,
ref
) {
return (
<svg
ref={ref}
className={props.className}
id="Layer_1"
data-name="Layer 1"