diff --git a/client/reader/recent/recent-post-field.tsx b/client/reader/recent/recent-post-field.tsx index 4eee308e294055..22a709cdb8cc31 100644 --- a/client/reader/recent/recent-post-field.tsx +++ b/client/reader/recent/recent-post-field.tsx @@ -4,7 +4,7 @@ import type { ReaderPost, PostItem } from './types'; interface RecentPostFieldProps { item: ReaderPost; post: PostItem; - setSelectedItem: ( item: ReaderPost ) => void; + setSelectedItem: ( post: ReaderPost | null ) => void; } const RecentPostField: React.FC< RecentPostFieldProps > = ( { item, post, setSelectedItem } ) => { diff --git a/client/reader/recent/recent-seen-field.tsx b/client/reader/recent/recent-seen-field.tsx index c323f319aa52de..178e821ebf7afd 100644 --- a/client/reader/recent/recent-seen-field.tsx +++ b/client/reader/recent/recent-seen-field.tsx @@ -5,7 +5,7 @@ import type { PostItem, ReaderPost } from './types'; interface RecentSeenFieldProps { item: ReaderPost; post: PostItem; - setSelectedItem: ( item: ReaderPost ) => void; + setSelectedItem: ( post: ReaderPost | null ) => void; } const RecentSeenField: React.FC< RecentSeenFieldProps > = ( { item, post, setSelectedItem } ) => {