Skip to content

Commit

Permalink
Fix a minor bug in tab UI 🐞.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmarty committed May 21, 2024
1 parent 0e8ca18 commit 8506a04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RoomTabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const RoomTabs = ({
<select
id="tabs"
name="tabs"
defaultValue={tabs.find((tab) => tab.current).name}
value={tabs.find((tab) => tab.current).name}
onChange={({ target }) => setCurrentTab(target.value)}
className="block w-full rounded border-slate-300 focus:border-primary-500 focus:ring-primary-500">
{tabs.map((tab) => (
Expand Down

0 comments on commit 8506a04

Please sign in to comment.