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
refactor: fix typo in notification-center/index.tsx (#2929)
Ikko Eltociear Ashimineeaea8e936816
diff --git a/packages/component/src/components/notification-center/index.tsx b/packages/component/src/components/notification-center/index.tsxindex 1f13d641c6..11e3408e3f 100644--- a/packages/component/src/components/notification-center/index.tsx+++ b/packages/component/src/components/notification-center/index.tsx@@ -91,7 +91,7 @@ function NotificationCard(props: NotificationCardProps): ReactElement {const pointerStartYRef = useRef<number | null>(null);const notificationsHeightBefore = useMemo(() => {return heights.reduce((prev, curr, reducerIndex) => {- // Calculate offset up untill current notification+ // Calculate offset up until current notificationif (reducerIndex >= heightIndex) {return prev;}