From 5a91054ba8d10d72b7838ae3677670f05a5757d3 Mon Sep 17 00:00:00 2001 From: Jari Date: Thu, 24 Aug 2023 19:30:34 -0500 Subject: [PATCH] pass serverAPI correctly to Content (#29) --- src/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.tsx b/src/index.tsx index 735c2fd..a1f4bc5 100755 --- a/src/index.tsx +++ b/src/index.tsx @@ -21,7 +21,7 @@ import logo from "../assets/logo.png"; // right: number; // } -const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => { +const Content: VFC<{ serverAPI: ServerAPI }> = ({serverAPI}) => { // const [result, setResult] = useState(); // const onClick = async () => {