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

This commit is contained in:
wangxuan 2023-02-09 00:54:34 +08:00 committed by GitHub
parent 7f799b8e3d
commit 390e439f38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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>