There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
fix: forward isActive prop in tab
Federico Leiva9e9b8f78f0f2
diff --git a/apps/ligo-virgo/src/pages/workspace/docs/components/tabs/Tabs.tsx b/apps/ligo-virgo/src/pages/workspace/docs/components/tabs/Tabs.tsxindex 3722c5e162..fc06d826bc 100644--- a/apps/ligo-virgo/src/pages/workspace/docs/components/tabs/Tabs.tsx+++ b/apps/ligo-virgo/src/pages/workspace/docs/components/tabs/Tabs.tsx@@ -11,15 +11,15 @@ const StyledTabs = styled('div')({cursor: 'pointer',});-const StyledDivider = styled(Divider)<{ isActive?: boolean }>(- ({ isActive }) => {- return {- flex: 1,- backgroundColor: isActive ? '#3E6FDB' : '#ECF1FB',- borderWidth: '2px',- };- }-);+const StyledDivider = styled(Divider, {+ shouldForwardProp: (prop: string) => !['isActive'].includes(prop),+})<{ isActive?: boolean }>(({ isActive }) => {+ return {+ flex: 1,+ backgroundColor: isActive ? '#3E6FDB' : '#ECF1FB',+ borderWidth: '2px',+ };+});const TAB_TITLE = {PAGES: 'pages',