Skip to content

Commit

Permalink
Make "" a valid value of things of type Theme
Browse files Browse the repository at this point in the history
  • Loading branch information
Owen-Morgan825 committed Jan 16, 2025
1 parent 0f349e1 commit 34fc887
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ThemeProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { useQRScoutState } from '@/store/store';
import { setColorScheme } from '@/util/theme';
import { createContext, useContext, useEffect, useState } from 'react';

type Theme = 'dark' | 'light' | 'system';
type Theme = 'dark' | 'light' | 'system' | '';

type ThemeProviderProps = {
children: React.ReactNode;
Expand Down

0 comments on commit 34fc887

Please sign in to comment.