Skip to content

Commit 6f21c48

Browse files
authored
Update websiteFeeds.ts (#6648)
Unnecessary use of await Signed-off-by: chinmoykr <[email protected]>
1 parent 5351908 commit 6f21c48

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

next-data/providers/websiteFeeds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { cache } from 'react';
33
import generateWebsiteFeeds from '@/next-data/generators/websiteFeeds.mjs';
44
import { provideBlogPosts } from '@/next-data/providers/blogData';
55

6-
const websiteFeeds = await generateWebsiteFeeds(provideBlogPosts('all'));
6+
const websiteFeeds = generateWebsiteFeeds(provideBlogPosts('all'));
77

88
const provideWebsiteFeeds = cache((feed: string) => {
99
if (feed.includes('.xml') && websiteFeeds.has(feed)) {

0 commit comments

Comments
 (0)