fix: console error (#180)

This commit is contained in:
Whitewater authored and GitHub committed 2022-08-11 11:18:44 +08:00
1 parent 083d74c904
commit 94dbd89d8f
2 files changed
+7 -4

No files matched your search

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