Skip to content

Commit f4b48e8

Browse files
fix: add missing ref parameter to SatSymbol forwardRef component (calcom#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>
1 parent 4dc2260 commit f4b48e8

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

packages/ui/components/icon/SatSymbol.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
import React, { forwardRef } from "react";
22

3-
export const SatSymbol = forwardRef<SVGSVGElement, React.SVGProps<SVGSVGElement>>(function SatSymbol(props) {
3+
export const SatSymbol = forwardRef<SVGSVGElement, React.SVGProps<SVGSVGElement>>(function SatSymbol(
4+
props,
5+
ref
6+
) {
47
return (
58
<svg
9+
ref={ref}
610
className={props.className}
711
id="Layer_1"
812
data-name="Layer 1"

0 commit comments

Comments
 (0)