fix: react-dom dependency

This commit is contained in:
NunoSempere 2022-06-17 18:55:58 -04:00
parent 6d06981763
commit e8cdf2ac7c
2 changed files with 13 additions and 12 deletions

View File

@ -43,14 +43,13 @@ export function AdvancedOptions({
{/* Show advanced options*/} {/* Show advanced options*/}
<button <button
className="text-gray-500 text-sm" className="text-gray-500 text-sm"
onClick={() => changeShowAdvanceOptions(true)} onClick={() => changeShowAdvanceOptions(!showAdvancedOptions)}
> >
Advanced options Advanced options
</button> </button>
<br /> <br />
{/* Toggle buttons */} {/* Toggle buttons */}
<div className={showAdvancedOptions ? "" : ""}> <div className={showAdvancedOptions ? "" : "hidden"}>
"Hello world"
{buttonNames.map((buttonName, i) => { {buttonNames.map((buttonName, i) => {
return ( return (
<button <button

View File

@ -2520,13 +2520,14 @@ react-compound-slider@^3.3.1:
d3-array "^2.8.0" d3-array "^2.8.0"
warning "^4.0.3" warning "^4.0.3"
react-dom@^18.2.0: react-dom@17.0.1:
version "18.2.0" version "17.0.1"
resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-18.2.0.tgz#22aaf38708db2674ed9ada224ca4aa708d821e3d" resolved "https://registry.yarnpkg.com/react-dom/-/react-dom-17.0.1.tgz#1de2560474ec9f0e334285662ede52dbc5426fc6"
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g== integrity sha512-6eV150oJZ9U2t9svnsspTMrWNyHc6chX0KzDeAOXftRa8bNeOKTTfCJ7KorIwenkHd2xqVTBTCZd79yk/lx/Ug==
dependencies: dependencies:
loose-envify "^1.1.0" loose-envify "^1.1.0"
scheduler "^0.23.0" object-assign "^4.1.1"
scheduler "^0.20.1"
react-is@^16.13.1, react-is@^16.7.0: react-is@^16.13.1, react-is@^16.7.0:
version "16.13.1" version "16.13.1"
@ -2729,12 +2730,13 @@ safe-buffer@~5.1.0, safe-buffer@~5.1.1:
resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.1.2.tgz#991ec69d296e0313747d59bdfd2b745c35f8828d"
integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g== integrity sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==
scheduler@^0.23.0: scheduler@^0.20.1:
version "0.23.0" version "0.20.2"
resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.23.0.tgz#ba8041afc3d30eb206a487b6b384002e4e61fdfe" resolved "https://registry.yarnpkg.com/scheduler/-/scheduler-0.20.2.tgz#4baee39436e34aa93b4874bddcbf0fe8b8b50e91"
integrity sha512-CtuThmgHNg7zIZWAXi3AsyIzA3n4xx7aNyjwC2VJldO2LMVDhFK+63xGqq6CsJH4rTAt6/M+N4GhZiDYPx9eUw== integrity sha512-2eWfGgAqqWFGqtdMmcL5zCMK1U8KlXv8SQFGglL3CEtd0aDVDWgeF/YoCmvln55m5zSk3J/20hTaSBeSObsQDQ==
dependencies: dependencies:
loose-envify "^1.1.0" loose-envify "^1.1.0"
object-assign "^4.1.1"
seedrandom@^3.0.5: seedrandom@^3.0.5:
version "3.0.5" version "3.0.5"