mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-15 05:37:32 +00:00
refactor: fix typo in notification-center/index.tsx (#2929)
This commit is contained in:
committed by
Alex Yang
parent
e65cae121e
commit
ce45c15d13
@@ -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