From 6b7e99d6cb2776aeffd222adb37891ecf41f6d63 Mon Sep 17 00:00:00 2001 From: Matt Pocock Date: Mon, 24 Jul 2023 16:37:43 +0100 Subject: [PATCH] Fixed 66 --- .../66-forward-ref-as-local-function.solution.2.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/08-advanced-patterns/66-forward-ref-as-local-function.solution.2.tsx b/src/08-advanced-patterns/66-forward-ref-as-local-function.solution.2.tsx index 3678aec..785c13c 100644 --- a/src/08-advanced-patterns/66-forward-ref-as-local-function.solution.2.tsx +++ b/src/08-advanced-patterns/66-forward-ref-as-local-function.solution.2.tsx @@ -1,6 +1,6 @@ import { Equal, Expect } from "../helpers/type-utils"; -import { ForwardedRef, forwardRef } from "react"; +import { ForwardedRef, forwardRef, useRef } from "react"; type FixedForwardRef = ( render: (props: P, ref: React.Ref) => React.ReactNode,