[Checkbox]: react warning about controlled vs uncontrolled state
BillyG83 opened this issue · 0 comments
Warning: styled.input contains an input of type checkbox with both checked and defaultChecked props. Input elements must be either controlled or uncontrolled (specify either the checked prop, or the defaultChecked prop, but not both). Decide between using a controlled or uncontrolled input element and remove one of these props. More info: https://reactjs.org/link/controlled-components at input at O2 (webpack-internal:///./node_modules/.pnpm/@web3uikit+core@0.2.47_biqbaboplfbrettd7655fr4n2y/node_modules/@web3uikit/core/dist/index.js:1364:6) at label at O2 (webpack-internal:///./node_modules/.pnpm/@web3uikit+core@0.2.47_biqbaboplfbrettd7655fr4n2y/node_modules/@web3uikit/core/dist/index.js:1364:6) at Checkbox (webpack-internal:///./node_modules/.pnpm/@web3uikit+core@0.2.47_biqbaboplfbrettd7655fr4n2y/node_modules/@web3uikit/core/dist/index.js:28676:3)
remove warning to maintain current behaviour