mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-14 21:40:49 -05:00
backpedal a bit on caching
This commit is contained in:
@@ -12,7 +12,7 @@ export type TweetProps = Omit<ComponentPropsWithoutRef<typeof EmbeddedTweet>, "t
|
||||
className?: string;
|
||||
};
|
||||
|
||||
const fetchTweet = cache(async (id: string) => _fetchTweet(id), undefined, {
|
||||
const fetchTweet = cache(_fetchTweet, undefined, {
|
||||
revalidate: false, // cache indefinitely
|
||||
tags: ["tweet"],
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user