diff --git a/samples/react-tanstack-router/src/main.tsx b/samples/react-tanstack-router/src/main.tsx index 9edd43c4c..62c63157c 100644 --- a/samples/react-tanstack-router/src/main.tsx +++ b/samples/react-tanstack-router/src/main.tsx @@ -39,8 +39,6 @@ createRoot(document.getElementById('root')!).render( diff --git a/samples/react-tanstack-router/src/pages/Home.tsx b/samples/react-tanstack-router/src/pages/Home.tsx index f189dd34b..cf1019805 100644 --- a/samples/react-tanstack-router/src/pages/Home.tsx +++ b/samples/react-tanstack-router/src/pages/Home.tsx @@ -19,7 +19,11 @@ export default function Home() { ) : ( - {({isLoading}) => } + {({isLoading, signIn}) => ( + + )} )} @@ -34,7 +38,11 @@ export default function Home() { {!isSignedIn && (
- {({isLoading}) => } + {({isLoading, signIn}) => ( + + )}
)}