feat: Fix the translation of the tab label on the right hand panel (#3153)

This commit is contained in:
wangxuan authored and GitHub committed 2023-02-08 11:54:34 -05:00
1 parent 7f799b8e3d
commit 390e439f38
1 file changed
+1 -1
@@ -203,7 +203,7 @@ const SidePanel = ({
/>
{/* Todo: ass secondary label here */}
<span className="text-primary-active">
{tabs.length === 1 && tabs[activeTabIndex].label}
{tabs.length === 1 && t(tabs[activeTabIndex].label) as string}
</span>
</Button>
</div>