Skip to content

Commit 5731bd4

Browse files
guansssGalvinGao
andauthored
docs: add FIXME mark
Co-authored-by: GalvinGao <[email protected]>
1 parent df63a8d commit 5731bd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/Effects.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export const Effects: FC = () => {
7272
}
7373

7474
if (shouldLogout) {
75-
// setting the state synchronously may cause problems (not really sure), so we add a small delay
75+
// FIXME: setting the state synchronously may cause problems (not really sure), so we add a small delay for a temporary hack
7676
await new Promise((resolve) => setTimeout(resolve, 50))
7777

7878
setAuth({})

0 commit comments

Comments
 (0)