Skip to content

Commit

Permalink
chore(extension): proper return type for theme initialization
Browse files Browse the repository at this point in the history
Signed-off-by: Jordan Shatford <[email protected]>
  • Loading branch information
jordanshatford committed Nov 9, 2023
1 parent 1f7608f commit 1e1ca2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/extension/src/lib/theme.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export function initializeTheme(override?: 'dark' | 'light') {
export function initializeTheme(override?: 'dark' | 'light'): void {
// Get preferred color scheme based on user.
let isDark = window?.matchMedia?.('(prefers-color-scheme: dark)')?.matches;
// Use override if provided to function.
Expand Down

0 comments on commit 1e1ca2e

Please sign in to comment.