Skip to content

Commit

Permalink
Revert type changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
allilevine committed Nov 7, 2024
1 parent 13d815e commit 8bae4a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/reader/recent/recent-post-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 } ) => {
Expand Down
2 changes: 1 addition & 1 deletion client/reader/recent/recent-seen-field.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 } ) => {
Expand Down

0 comments on commit 8bae4a9

Please sign in to comment.