Skip to content

Commit

Permalink
Remove unnecessary type assertion on tabName value.
Browse files Browse the repository at this point in the history
  • Loading branch information
junhaoliao committed Sep 18, 2024
1 parent 74328ca commit 0b1b33f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const PanelTabs = forwardRef<HTMLDivElement, PanelTabsProps>((
setIsSettingsModalOpen(true);
break;
default:
onActiveTabNameChange(tabName as TAB_NAME);
onActiveTabNameChange(tabName);
}
};

Expand Down

0 comments on commit 0b1b33f

Please sign in to comment.