From 86e3fee6d2aa524fbda82fc6aa9977ffe4ee1e96 Mon Sep 17 00:00:00 2001 From: Caleb! <48127194+kaf-lamed-beyt@users.noreply.github.com> Date: Tue, 11 Feb 2025 21:27:03 +0100 Subject: [PATCH] Update src/hooks/theme.ts Co-authored-by: Russell Dempsey <1173416+SgtPooki@users.noreply.github.com> --- src/hooks/theme.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/theme.ts b/src/hooks/theme.ts index 62f53acf2..78d4b1155 100644 --- a/src/hooks/theme.ts +++ b/src/hooks/theme.ts @@ -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 ') } - return context as ThemeContextValues + return context }