Skip to content

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.

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.tsx
index 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 notification
if (reducerIndex >= heightIndex) {
return prev;
}