Skip to content

Commit

Permalink
fix: ThemeProvider warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
hasparus committed Sep 6, 2023
1 parent 51cb6fa commit 17054b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/theme-provider/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const ThemeProvider: React.FC<ThemeProviderProps> = ({
React.useEffect(() => {
if (process.env.NODE_ENV !== 'production') {
console.warn(
'[theme-ui] The export ThemeUIProvider is deprecated and is now called ThemeProvider to reduce confusion with Emotion. Please update your import; ThemeUIProvider will be removed in a future version.'
'[theme-ui] The export ThemeProvider is deprecated and is now called ThemeUIProvider to reduce confusion with Emotion. Please update your import; ThemeProvider will be removed in a future version.'
)
}
}, [])
Expand Down

1 comment on commit 17054b1

@vercel
Copy link

@vercel vercel bot commented on 17054b1 Sep 6, 2023

Choose a reason for hiding this comment

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

Please sign in to comment.