Skip to content

Commit

Permalink
Update src/hooks/theme.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Russell Dempsey <[email protected]>
  • Loading branch information
kaf-lamed-beyt and SgtPooki authored Feb 11, 2025
1 parent ea53fa6 commit 86e3fee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ export const useTheme = (): ThemeContextValues => {
if (context == null) {
throw new Error('Theme context is missing You probably forgot to wrap the component depending on theme in <ThemeProvider />')
}
return context as ThemeContextValues
return context
}

0 comments on commit 86e3fee

Please sign in to comment.