You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
console.error
Warning: You provided a `checked` prop to a form field without an `onChange` handler. This will render a read-only field. If the field should be mutable use `defaultChecked`. Otherwise, set either `onChange` or `readOnly`.
at input
at label
at Switch (/Users/radu/dev/web-monetization-extension/packages/extension/src/components/switch.tsx:39:9)
31 |
32 | it('forwards checked prop to input element', () => {
> 33 | render(<Switch checked />)
| ^
34 | const inputElement = screen.getByRole('switch')
35 | expect(inputElement).toBeChecked()
36 | })
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: