Skip to content

Commit 9768eb4

Browse files
committed
Update NotificationsPopover.tsx
1 parent dc4ac55 commit 9768eb4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

patterns/navigation-layout/src/NotificationsPopover.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,14 +85,14 @@ export const NotificationsPopover = forwardRef<ResponsivePopoverDomRef, Notifica
8585
content: `This is dynamically loaded notification #${newIndex}.`,
8686
};
8787
});
88-
//@ts-expect-error: `items` are available but private
88+
//@ts-expect-error: `items` are available
8989
const focusIndex = e.target.items.length;
9090
setGroupLoading(true);
9191
setTimeout(() => {
9292
setTodayNotifications((prev) => [...prev, ...nextItems]);
9393
setGroupLoading(false);
9494
setTimeout(() => {
95-
//@ts-expect-error: `items` are available but private
95+
//@ts-expect-error: `items` are available
9696
e.target.items[focusIndex].focus();
9797
}, 500);
9898
}, 2000);

0 commit comments

Comments
 (0)