From 2ac8a157619b049c75d6e1b9410ea1b6cbe800f9 Mon Sep 17 00:00:00 2001 From: Steve Ruiz Date: Tue, 29 Jun 2021 13:12:30 +0100 Subject: [PATCH] Renaming folders --- pages/room/index.tsx | 2 +- state/{pusher => coop}/client-pusher.ts | 0 state/{pusher => coop}/client-supa.ts | 0 state/{pusher => coop}/server.ts | 0 state/state.ts | 3 +-- 5 files changed, 2 insertions(+), 3 deletions(-) rename state/{pusher => coop}/client-pusher.ts (100%) rename state/{pusher => coop}/client-supa.ts (100%) rename state/{pusher => coop}/server.ts (100%) diff --git a/pages/room/index.tsx b/pages/room/index.tsx index 73f5c1769..c74f257cf 100644 --- a/pages/room/index.tsx +++ b/pages/room/index.tsx @@ -2,7 +2,7 @@ import { GetServerSideProps } from 'next' import { getSession } from 'next-auth/client' import { v4 as uuid } from 'uuid' -export default function Home(): JSX.Element { +export default function CreateNewRoom(): JSX.Element { return
You should not see this one
} diff --git a/state/pusher/client-pusher.ts b/state/coop/client-pusher.ts similarity index 100% rename from state/pusher/client-pusher.ts rename to state/coop/client-pusher.ts diff --git a/state/pusher/client-supa.ts b/state/coop/client-supa.ts similarity index 100% rename from state/pusher/client-supa.ts rename to state/coop/client-supa.ts diff --git a/state/pusher/server.ts b/state/coop/server.ts similarity index 100% rename from state/pusher/server.ts rename to state/coop/server.ts diff --git a/state/state.ts b/state/state.ts index 4ca80f2c5..c155840fa 100644 --- a/state/state.ts +++ b/state/state.ts @@ -7,7 +7,7 @@ import history from './history' import storage from './storage' import clipboard from './clipboard' import * as Sessions from './sessions' -import pusher from './pusher/client-supa' +import pusher from './coop/client-supa' import commands from './commands' import { getCommonBounds, @@ -36,7 +36,6 @@ import { SizeStyle, ColorStyle, } from 'types' - import session from './session' const initialData: Data = {