mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 07:31:32 +03:00
fix: console error (#180)
This commit is contained in:
parent
083d74c904
commit
94dbd89d8f
@ -13,9 +13,10 @@ const StyledTabs = styled('div')(({ theme }) => {
|
|||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
||||||
const StyledTabTitle = styled('div', {
|
const StyledTabTitle = styled('div')<{
|
||||||
shouldForwardProp: (prop: string) => !['isActive'].includes(prop),
|
isActive?: boolean;
|
||||||
})<{ isActive?: boolean; isDisabled?: boolean }>`
|
isDisabled?: boolean;
|
||||||
|
}>`
|
||||||
flex: 1;
|
flex: 1;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
@ -168,7 +168,9 @@ export const TreeItemMoreActions = styled('div')`
|
|||||||
visibility: hidden;
|
visibility: hidden;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
export const TextLink = styled(Link)<{ active?: boolean }>`
|
export const TextLink = styled(Link, {
|
||||||
|
shouldForwardProp: (prop: string) => !['active'].includes(prop),
|
||||||
|
})<{ active?: boolean }>`
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user