Skip to content

Commit

Permalink
removes warning with theme-ui: https://theme-ui.com/migrating#v016
Browse files Browse the repository at this point in the history
  • Loading branch information
tonymtz committed Apr 29, 2024
1 parent 5eb201d commit 28deb95
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "tomatoro",
"version": "3.0.173",
"version": "3.0.174",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
6 changes: 3 additions & 3 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useRouter } from 'next/router'
import Posthog from 'posthog-js'
import { PostHogProvider } from 'posthog-js/react'
import { useEffect } from 'react'
import { ThemeProvider } from 'theme-ui'
import { ThemeUIProvider } from 'theme-ui'
import { useLocalStorage } from 'usehooks-ts'

import { getTheme, globalStyles } from '~/components/themes'
Expand Down Expand Up @@ -69,15 +69,15 @@ export default function App ({ Component, pageProps }: AppProps) {

return (
<PostHogProvider client={ Posthog }>
<ThemeProvider theme={ getTheme(theme) }>
<ThemeUIProvider theme={ getTheme(theme) }>
<NotificationsProvider>
<TimerProvider>
{ globalStyles }
{/* @ts-ignore */ }
<Component { ...pageProps } />
</TimerProvider>
</NotificationsProvider>
</ThemeProvider>
</ThemeUIProvider>
</PostHogProvider>
)
}

0 comments on commit 28deb95

Please sign in to comment.