From f9874c270e106caa77610b52378c2c5fb740607f Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Mon, 31 Jan 2022 20:51:28 -0800 Subject: [PATCH] Move NewRoute to a Next.js page --- pages/new/index.tsx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 pages/new/index.tsx diff --git a/pages/new/index.tsx b/pages/new/index.tsx new file mode 100644 index 00000000..9ac20b2c --- /dev/null +++ b/pages/new/index.tsx @@ -0,0 +1,22 @@ +import React from 'react' +import Party from '~components/Party' + +const NewRoute: React.FC = () => { + function callback(path: string) { + // This is scuffed, how do we do this natively? + window.history.replaceState(null, `Grid Tool`, `${path}`) + } + + return ( +
+ +
+ ) +} + +export default NewRoute \ No newline at end of file