Skip to content

Commit

Permalink
fix: don't show this again toggle bug flybywiresim#460
Browse files Browse the repository at this point in the history
  • Loading branch information
JoaoOliveira85 committed Sep 17, 2024
1 parent 0a3895c commit 122d1c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/components/Modal/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ interface DoNotAskAgainProps {
}

const DoNotAskAgain: FC<DoNotAskAgainProps> = ({ checked, toggleChecked }) => (
<div className="mt-8 w-auto gap-x-4">
<div className="mt-8 w-auto gap-x-4" onClick={toggleChecked}>
<CompactYesNoOptionToggle enabled={checked} onToggle={toggleChecked} enabledBgColor="bg-cyan">
Don&apos;t show this again
</CompactYesNoOptionToggle>
Expand Down

0 comments on commit 122d1c2

Please sign in to comment.