File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import { ScoutButton , ScoutCallout } from "@scouterna/ui-react" ;
22import { createFileRoute } from "@tanstack/react-router" ;
33import { T , useTranslate } from "@tolgee/react" ;
4- import { useAuthUrls } from "../../auth/auth" ;
4+ import { useAtomValue } from "jotai" ;
5+ import { useAuthUrls , userAtom } from "../../auth/auth" ;
56import { OnboardingFooter } from "../../components/onboarding/OnboardingFooter" ;
67
78export const Route = createFileRoute ( "/onboarding/signin" ) ( {
@@ -10,7 +11,7 @@ export const Route = createFileRoute("/onboarding/signin")({
1011
1112function RouteComponent ( ) {
1213 const { t } = useTranslate ( ) ;
13- const user = { name : "Malcolm Nihlén" } ;
14+ const user = useAtomValue ( userAtom ) ;
1415
1516 const { loginUrl } = useAuthUrls ( {
1617 redirectUri : "/onboarding/signin" ,
You can’t perform that action at this time.
0 commit comments