mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-06-05 15:11:13 +00:00
feat: fix tweet build
This commit is contained in:
@@ -163,7 +163,7 @@ export const NotionPage: React.FC<types.PageProps> = ({
|
||||
return (
|
||||
<Twitter.Provider
|
||||
value={{
|
||||
tweetAstMap: recordMap.tweetAstMap || {},
|
||||
tweetAstMap: (recordMap as any).tweetAstMap || {},
|
||||
swrOptions: {
|
||||
fetcher: (id) =>
|
||||
fetch(`/api/get-tweet-ast/${id}`).then((r) => r.json())
|
||||
|
||||
Reference in New Issue
Block a user