Skip to content

Commit 2fbc60e

Browse files
authored
fix: react hook dependency (#14221)
1 parent 95d5dc3 commit 2fbc60e

File tree

1 file changed

+1
-1
lines changed
  • templates/vsc/ts/non-sso-tab-default-bot/tab/src/components

1 file changed

+1
-1
lines changed

templates/vsc/ts/non-sso-tab-default-bot/tab/src/components/useTeams.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ export function useTeams(options?: {
100100
setLoading(false);
101101
setInTeams(false);
102102
});
103-
}, []);
103+
}, [initialTheme, overrideThemeHandler]);
104104

105105
return [
106106
{ inTeams, fullScreen, theme, context, themeString, loading },

0 commit comments

Comments
 (0)