refactor: fix typo in notification-center/index.tsx (#2929)

This commit is contained in:
Ikko Eltociear Ashimine authored and GitHub committed 2023-06-30 09:55:09 +08:00
1 parent 9873baae9f
commit eaea8e9368
1 file changed
+1 -1
@@ -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;
}