diff --git a/pages/[[...index]].tsx b/pages/[[...index]].tsx deleted file mode 100644 index 56cdeb7..0000000 --- a/pages/[[...index]].tsx +++ /dev/null @@ -1,47 +0,0 @@ -/** @jsxImportSource theme-ui */ -import type { GetStaticPaths, GetStaticProps, NextPage } from "next"; -import Head from "next/head"; -import { Box } from "theme-ui"; - -import { useRouter } from "next/router"; -import HooksEditor from "../components/HooksEditor"; -import { useEffect } from "react"; -import { fetchFiles } from "../state"; -import Footer from "../components/Footer"; - -const Home: NextPage = () => { - const router = useRouter(); - const index = router.query.index; - const gistId = index && Array.isArray(index) ? index[0] : ""; - useEffect(() => { - fetchFiles(gistId); - }, [gistId]); - return ( - <> - - XRPL Hooks Playground - - -
- -
- -