Skip to content

Commit

Permalink
Merge pull request #2 from josh-stillman/js/add-news-feed
Browse files Browse the repository at this point in the history
suppress eslint error
  • Loading branch information
josh-stillman authored Sep 5, 2023
2 parents 08327df + 147b7f0 commit ccae59c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/components/NewsFeed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const params = new URLSearchParams();
params.set('sort', 'publishedAt:desc');

export function NewsFeed() {
// eslint-disable-next-line @typescript-eslint/no-unsafe-assignment
const { data, error, isLoading } = useSWR<NewsItemsResponse>(
`${process.env.NEXT_PUBLIC_API_URL}/api/news-items?${params.toString()}`,
fetcher
Expand Down

0 comments on commit ccae59c

Please sign in to comment.