Skip to content

Commit 6b7e99d

Browse files
committed
Fixed 66
1 parent 173aad5 commit 6b7e99d

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 { ForwardedRef, forwardRef } 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)