Skip to content

Commit

Permalink
suppress eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Stillman committed Sep 5, 2023
1 parent 44c6543 commit 147b7f0
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 147b7f0

Please sign in to comment.