We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2fbc1b4 commit 93eff37Copy full SHA for 93eff37
MobileApp/src/screens/settings/ProjectsScreen.tsx
@@ -62,10 +62,13 @@ export default function ProjectsScreen({
62
63
// Refresh SSO token state when returning from the provider selection screen
64
useEffect(() => {
65
- const unsubscribe = navigation.addListener("focus", async () => {
66
- const tokens: Record<string, string> = await getSsoTokens();
67
- setSsoTokens(tokens);
68
- });
+ const unsubscribe: () => void = navigation.addListener(
+ "focus",
+ async () => {
+ const tokens: Record<string, string> = await getSsoTokens();
69
+ setSsoTokens(tokens);
70
+ },
71
+ );
72
return unsubscribe;
73
}, [navigation]);
74
0 commit comments