Skip to content

Commit

Permalink
fix: temporarily disable theme switching
Browse files Browse the repository at this point in the history
  • Loading branch information
Innei committed Jul 11, 2023
1 parent 269189e commit 6b1fcfd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/SonnerContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,16 @@

import { Toaster } from 'sonner'

import { useIsDark } from '~/hooks/common/use-is-dark'

export const SonnerContainer = () => {
const isDark = useIsDark()
// FIXME https://github.com/emilkowalski/sonner/issues/100
// const isDark = useIsDark()
return (
<Toaster
richColors
closeButton
duration={6666}
theme={isDark ? 'dark' : 'light'}
// theme={isDark ? 'dark' : 'light'}
theme="system"
/>
)
}

1 comment on commit 6b1fcfd

@vercel
Copy link

@vercel vercel bot commented on 6b1fcfd Jul 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

shiro – ./

shiro-git-main-innei.vercel.app
innei.in
shiro-innei.vercel.app
springtide.vercel.app

Please sign in to comment.