parent
72ad5b3a21
commit
b4ceaa387a
|
|
@ -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) => {
|
|||
<section
|
||||
className={"relative flex h-[100vh] items-center justify-center"}
|
||||
>
|
||||
<img alt={"splash"} className={"mb-20 h-[300px]"} src={"/splash.gif"} />
|
||||
<img alt={"splash"} className={"mb-20 h-[100px]"} src={"/splash.gif"} />
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue