Skip to content

Commit

Permalink
avoid warning in console
Browse files Browse the repository at this point in the history
  • Loading branch information
karussell committed Jun 2, 2024
1 parent 106f172 commit 7b26e52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sidebar/SettingsBox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function SettingsToggle({ title, enabled, onClick }: { title: string; enabled: b
function SettingsCheckbox({ title, enabled, onClick }: { title: string; enabled: boolean; onClick: () => void }) {
return (
<div className={styles.settingsCheckbox} onClick={onClick}>
<input type="checkbox" checked={enabled}></input>
<input type="checkbox" checked={enabled} onChange={(ignore) => {}}></input>
<label style={{ color: enabled ? '#5b616a' : 'gray' }}>{title}</label>
</div>
)
Expand Down

0 comments on commit 7b26e52

Please sign in to comment.