Skip to content

Commit a080f24

Browse files
committed
Removed ElementRef
1 parent 2fd10e7 commit a080f24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/08-advanced-patterns/66-forward-ref-as-local-function.solution.2.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Equal, Expect } from "../helpers/type-utils";
22

3-
import { ElementRef, ForwardedRef, forwardRef, useRef } from "react";
3+
import { ForwardedRef, forwardRef, useRef } from "react";
44

55
type FixedForwardRef = <T, P = {}>(
66
render: (props: P, ref: React.Ref<T>) => React.ReactNode,

0 commit comments

Comments
 (0)