feat: fix tweet build

This commit is contained in:
Travis Fischer
2021-02-14 23:37:27 -05:00
parent 0add28665a
commit a51b8a48af
4 changed files with 18 additions and 13 deletions

View File

@@ -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())