Skip to content

Commit 44136c7

Browse files
authored
refactor: theme casting not required (#1205)
refactor: as theme not required
1 parent bee0dde commit 44136c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/context/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ export const AppProvider = ({ children }: { children: ReactNode }) => {
112112
}, []);
113113

114114
useEffect(() => {
115-
setTheme(settings.theme as Theme);
115+
setTheme(settings.theme);
116116
}, [settings.theme]);
117117

118118
// biome-ignore lint/correctness/useExhaustiveDependencies: We only want fetchNotifications to be called for certain account or setting changes.

0 commit comments

Comments
 (0)