pass serverAPI correctly to Content (#29)

This commit is contained in:
Jari 2023-08-24 19:30:34 -05:00 committed by GitHub
parent ec1dfc791c
commit 5a91054ba8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,7 +21,7 @@ import logo from "../assets/logo.png";
// right: number; // right: number;
// } // }
const Content: VFC<{ serverAPI: ServerAPI }> = ({}) => { const Content: VFC<{ serverAPI: ServerAPI }> = ({serverAPI}) => {
// const [result, setResult] = useState<number | undefined>(); // const [result, setResult] = useState<number | undefined>();
// const onClick = async () => { // const onClick = async () => {