mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
refactor: fix typo in notification-center/index.tsx (#2929)
This commit is contained in:
committed by
GitHub
parent
9873baae9f
commit
eaea8e9368
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user