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

This commit is contained in:
Ikko Eltociear Ashimine
2023-06-30 10:55:09 +09:00
committed by GitHub
parent 9873baae9f
commit eaea8e9368

View File

@@ -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;
}