Skip to content

Commit

Permalink
Fix typescript error
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanv committed Aug 31, 2024
1 parent bc5fe9d commit 4f2d4ca
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions frontend/src/components/pages/FeedItems.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ const FeedItems: React.FC = () => {
};

const fetchFeedName = async () => {
if (feedId === undefined) {
return;
}
try {
const feed = await pb.collection("feeds").getOne(feedId);
setFeedName(feed.name);
Expand Down

0 comments on commit 4f2d4ca

Please sign in to comment.