From 04608769dee503a8581146735516bc225df3e2b9 Mon Sep 17 00:00:00 2001 From: Albert Folch Date: Fri, 17 Jan 2025 17:20:29 +0100 Subject: [PATCH] wip --- .../components/widgets/roblox/components/ConnectRoblox.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/react-kit/src/components/widgets/roblox/components/ConnectRoblox.tsx b/packages/react-kit/src/components/widgets/roblox/components/ConnectRoblox.tsx index e407ee190..4c797cab9 100644 --- a/packages/react-kit/src/components/widgets/roblox/components/ConnectRoblox.tsx +++ b/packages/react-kit/src/components/widgets/roblox/components/ConnectRoblox.tsx @@ -407,8 +407,11 @@ export const ConnectRoblox = forwardRef( useEffect(() => { if (!robloxLoggedInData?.isLoggedIn) { setActiveStep(0); + } else if (!address) { + setActiveStep(1); } - }, [robloxLoggedInData?.isLoggedIn]); + }, [robloxLoggedInData?.isLoggedIn, address]); + useQuery( [robloxLoggedInData, address, isAuthChecked], () => {