client: fix dom structure with a

This commit is contained in:
fantasticit 2022-06-30 21:41:49 +08:00
parent ee690bf5d3
commit 7e7ff516cd
1 changed files with 28 additions and 26 deletions

View File

@ -119,6 +119,7 @@ export const OrganizationSwitcher = () => {
error={error} error={error}
normalContent={() => { normalContent={() => {
return ( return (
<>
<Link <Link
href={{ href={{
pathname: '/app/org/[organizationId]', pathname: '/app/org/[organizationId]',
@ -142,9 +143,10 @@ export const OrganizationSwitcher = () => {
{data.name} {data.name}
</Paragraph> </Paragraph>
</span> </span>
<UserOrganizationsSwitcher />
</a> </a>
</Link> </Link>
<UserOrganizationsSwitcher />
</>
); );
}} }}
/> />