Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

fix(playground): checkbox bug #2366

Merged
merged 1 commit into from
Apr 7, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions website/playground/src/SourceTypeSelect.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,6 @@ export default function SourceTypeSelect(
type="checkbox"
checked={isTypeScript}
onChange={(e) => {
setIsTypeScript(false);
setIsJsx(false);
Comment on lines -54 to -55
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah this was an oversight of mine. I wanted to apply these two calls when source type changes. Sorry about that

setIsTypeScript(e.target.checked);
}}
className="focus:ring-indigo-500 h-4 w-4 text-indigo-600 border-gray-300 rounded disabled:opacity-30"
Expand Down