Skip to content

Commit

Permalink
Fixed toggle sometimes showing a flicker of the wrong state
Browse files Browse the repository at this point in the history
  • Loading branch information
todd-elvers committed Jul 26, 2022
1 parent 01ae097 commit 315b2a4
Show file tree
Hide file tree
Showing 3 changed files with 4,077 additions and 52 deletions.
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-dark-mode-toggle-2",
"version": "2.0.4",
"version": "2.0.5",
"description": "An updated, cute dark mode toggle button for React.",
"module": "dist/index.es.js",
"types": "dist/index.d.ts",
Expand Down Expand Up @@ -93,5 +93,8 @@
"./{src,stories}/**/*.{ts,tsx,js,jsx}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 120
}
}
Loading

0 comments on commit 315b2a4

Please sign in to comment.