Skip to content

Commit 6a6d066

Browse files
authored
Merge pull request #7 from daphnesmit/master
fix: update switch package to fix bug in controlled checkbox
2 parents 6dd50d4 + fceac16 commit 6a6d066

File tree

2 files changed

+10
-18
lines changed

2 files changed

+10
-18
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
},
148148
"dependencies": {
149149
"@accessible/visually-hidden": "^2.0.0",
150-
"@react-hook/switch": "^1.3.0",
150+
"@react-hook/switch": "^1.3.3",
151151
"clsx": "^1.1.1"
152152
},
153153
"peerDependencies": {

yarn.lock

Lines changed: 9 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1377,30 +1377,22 @@
13771377
dependencies:
13781378
"@react-hook/latest" "^1.0.2"
13791379

1380-
"@react-hook/change@^1.0.0":
1381-
version "1.0.0"
1382-
resolved "https://registry.yarnpkg.com/@react-hook/change/-/change-1.0.0.tgz#4604bc93d616fcc0311f528464edd7cb24083289"
1383-
integrity sha512-NwkNxq6PZ5XRZ9gcBhE1kmTXtNf4/YayZXaLviCWowBkmXWKcRKtmBZBlAj86LbWxReWZgyINaYsPDxEEa2MKQ==
1384-
dependencies:
1385-
"@react-hook/latest" "^1.0.2"
1386-
"@react-hook/previous" "^1.0.1"
1387-
13881380
"@react-hook/latest@^1.0.2":
13891381
version "1.0.2"
13901382
resolved "https://registry.yarnpkg.com/@react-hook/latest/-/latest-1.0.2.tgz#767eb6974f91eef353981b8b60a87147dadecb18"
13911383
integrity sha512-zLtOIToct1EBTbwldkMJsXC2eCsmWOOP7z6UG0M/sCgnPExtIjvVMCpPESvPnMbQzDZytXVy0nvMbUuK2gZs2A==
13921384

1393-
"@react-hook/previous@^1.0.1":
1394-
version "1.0.1"
1395-
resolved "https://registry.yarnpkg.com/@react-hook/previous/-/previous-1.0.1.tgz#61f499e855873dcdb64e7b98f302194548f267f4"
1396-
integrity sha512-O7VaRLDEHRy1hxh03CmtWRxDhCwIVQBBkf1kYdYqUP3KNrPnQMIVIYYYQpHIIiNcS1BO6zmBKM4bugFDNgP8Iw==
1385+
"@react-hook/latest@^1.0.3":
1386+
version "1.0.3"
1387+
resolved "https://registry.yarnpkg.com/@react-hook/latest/-/latest-1.0.3.tgz#c2d1d0b0af8b69ec6e2b3a2412ba0768ac82db80"
1388+
integrity sha512-dy6duzl+JnAZcDbNTfmaP3xHiKtbXYOaz3G51MGVljh548Y8MWzTr+PHLOfvpypEVW9zwvl+VyKjbWKEVbV1Rg==
13971389

1398-
"@react-hook/switch@^1.3.0":
1399-
version "1.3.0"
1400-
resolved "https://registry.yarnpkg.com/@react-hook/switch/-/switch-1.3.0.tgz#2f46d7db89b571ff88eca4598bd9a2d397bc93e7"
1401-
integrity sha512-f4+nD6u0MSnFQ1hPRccRCXKHQEbyFQJ1lu09XcS5uzfiIiB1+vmkNd8N5c7Z07Xmq2vxcQi16iYtPwoZNRoHPw==
1390+
"@react-hook/switch@^1.3.3":
1391+
version "1.3.3"
1392+
resolved "https://registry.yarnpkg.com/@react-hook/switch/-/switch-1.3.3.tgz#9922d7a8e01cad9b15116f1544158bdef0f7ef42"
1393+
integrity sha512-EISeNU8yXCQwMBqmR+O0f5RljRcRDCVRc2L0uLjeD6hHKHUUuMLG6OFPi1nd8D19yRScn4GWNPqB0Z49rLo8eQ==
14021394
dependencies:
1403-
"@react-hook/change" "^1.0.0"
1395+
"@react-hook/latest" "^1.0.3"
14041396

14051397
"@rollup/plugin-babel@^5.0.2":
14061398
version "5.0.4"

0 commit comments

Comments
 (0)