diff options
author | 2021-09-10 03:32:21 -0700 | |
---|---|---|
committer | 2021-09-10 03:32:21 -0700 | |
commit | b66ef231670b84fe71b3d97a896c48a09209eb9b (patch) | |
tree | 7d1f7d9ac63c3bdb8af01c1d3d1ab10aef3d1325 /examples | |
parent | 812f641ee325bdcef6b99e89d57c0771cf1ca1e2 (diff) | |
download | bun-b66ef231670b84fe71b3d97a896c48a09209eb9b.tar.gz bun-b66ef231670b84fe71b3d97a896c48a09209eb9b.tar.zst bun-b66ef231670b84fe71b3d97a896c48a09209eb9b.zip |
yay
Diffstat (limited to 'examples')
-rw-r--r-- | examples/hello-next/pages/index.tsx | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/examples/hello-next/pages/index.tsx b/examples/hello-next/pages/index.tsx index ee455470c..f733efb51 100644 --- a/examples/hello-next/pages/index.tsx +++ b/examples/hello-next/pages/index.tsx @@ -1,25 +1,16 @@ import Head from "next/head"; import Link from "next/link"; -import { useRouter } from "next/router"; import React from "react"; -import { - Tweet, - TwitterContextProvider, -} from "@jarred/react-static-tweets/src/index"; -import "@jarred/react-static-tweets/styles.css"; -import { fetchTweetAst } from "@jarred/static-tweets/src/fetchTweetAst"; -import { SWRConfig } from "swr"; import styles from "../styles/Home.module.css"; export async function getStaticProps(ctx) { return { props: { - tweetAst: await fetchTweetAst("1390084458724741121"), }, }; } -export default function Home({ tweetAst }) { +export default function Home({ }) { return ( <div className={styles.container}> <Head> |