Skip to content

Commit

Permalink
0.0.14
Browse files Browse the repository at this point in the history
  • Loading branch information
pacocoursey committed Mar 19, 2021
1 parent 48aad29 commit 43d6260
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ export const ThemeProvider: React.FC<ThemeProviderProps> = ({
)

useEffect(() => {
const handler = mediaListener.current
const handler = (...args: any) => mediaListener.current(...args)

// Always listen to System preference
const media = window.matchMedia(MEDIA)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-themes",
"version": "0.0.13",
"version": "0.0.14",
"main": "./dist/index.js",
"module": "./dist/index.modern.js",
"types": "./dist/index.d.ts",
Expand Down

0 comments on commit 43d6260

Please sign in to comment.