mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-05 04:19:02 +08:00
fix(HomeTabs): correct tab positioning logic for topic selection
This commit is contained in:
parent
2cd9418b7a
commit
6283ffdfe4
@ -116,10 +116,10 @@ const HomeTabs: FC<Props> = ({
|
||||
</CustomTabs>
|
||||
)}
|
||||
|
||||
{position === 'left' && topicPosition === 'right' && (
|
||||
{position === 'right' && topicPosition === 'right' && (
|
||||
<CustomTabs>
|
||||
<TabItem active={tab === 'assistants'} onClick={() => setTab('assistants')}>
|
||||
{t('assistants.abbr')}
|
||||
<TabItem active={tab === 'topic'} onClick={() => setTab('topic')}>
|
||||
{t('common.topics')}
|
||||
</TabItem>
|
||||
<TabItem active={tab === 'settings'} onClick={() => setTab('settings')}>
|
||||
{t('settings.title')}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user