mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-18 14:01:44 +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', {
|
||||
shouldForwardProp: (prop: string) => !['isActive'].includes(prop),
|
||||
})<{ isActive?: boolean; isDisabled?: boolean }>`
|
||||
const StyledTabTitle = styled('div')<{
|
||||
isActive?: boolean;
|
||||
isDisabled?: boolean;
|
||||
}>`
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -168,7 +168,9 @@ export const TreeItemMoreActions = styled('div')`
|
||||
visibility: hidden;
|
||||
`;
|
||||
|
||||
export const TextLink = styled(Link)<{ active?: boolean }>`
|
||||
export const TextLink = styled(Link, {
|
||||
shouldForwardProp: (prop: string) => !['active'].includes(prop),
|
||||
})<{ active?: boolean }>`
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-grow: 1;
|
||||
|
Loading…
Reference in New Issue
Block a user