diff --git a/src/context/Theme.tsx b/src/context/Theme.tsx
index 02f5ca6611c4673fcb84f6a57d26eb8cad99f211..a6764784a159b7b5f93b6794680404496c5fced0 100644
--- a/src/context/Theme.tsx
+++ b/src/context/Theme.tsx
@@ -270,8 +270,8 @@ interface Props {
 function Theme({ children, options }: Props) {
     const theme: Theme = {
         ...PRESETS["dark"],
-        ...PRESETS[props.options?.preset ?? ''],
-        ...props.options?.custom
+        ...PRESETS[options?.preset ?? ''],
+        ...options?.custom
     };
 
     const root = document.documentElement.style;