Skip to content

Commit

Permalink
Removed commented code
Browse files Browse the repository at this point in the history
  • Loading branch information
vivek-harness committed Nov 26, 2024
1 parent b7a4a4b commit 8f9d8b7
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion apps/gitness/src/framework/context/ThemeContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ export function ThemeProvider({ children }: { children: React.ReactNode }) {
useEffect(() => {
const root = window.document.documentElement

// const mediaQuery = window.matchMedia('(prefers-color-scheme: dark)')
const [mode, color, contrast] = theme.split('-') as [ModeType, ColorType, ContrastType]

// Compute the effective theme based on system preference if set to "system"
Expand Down

0 comments on commit 8f9d8b7

Please sign in to comment.