diff --git a/src/pages/root/steps/welcome-step/index.tsx b/src/pages/root/steps/welcome-step/index.tsx index 1a6bd58..a167e02 100644 --- a/src/pages/root/steps/welcome-step/index.tsx +++ b/src/pages/root/steps/welcome-step/index.tsx @@ -12,8 +12,12 @@ export const WelcomeStep = ({ nextStep }: WelcomeStepProps) => { const [tonConnectUI] = useTonConnectUI(); const [isLoaded, setLoaded] = useState(false); +console.log('💩💩💩 enter WelcomeStep'); + const auth = useAuth(); + console.log('💩💩💩 after useAuth'); + const handleNextClick = async () => { if (tonConnectUI.connected) { nextStep(); @@ -42,7 +46,7 @@ export const WelcomeStep = ({ nextStep }: WelcomeStepProps) => {
- {"splash"} + {"splash"}
); } diff --git a/src/shared/services/auth/index.ts b/src/shared/services/auth/index.ts index f45c703..4308a8e 100644 --- a/src/shared/services/auth/index.ts +++ b/src/shared/services/auth/index.ts @@ -7,6 +7,8 @@ export const useAuth = () => { const WebApp = useWebApp(); return useMutation(["auth"], () => { + console.log("👀👀👀 in useMutation - auth"); + return request.post<{ connected_wallet: null | { version: string;