From f9bae60357ec4c67d3cf96b5d53c6eee852569cb Mon Sep 17 00:00:00 2001 From: tamaina Date: Wed, 27 Apr 2022 23:06:40 +0900 Subject: remove deepcopy and broadcast-channel (=< Safari 15.4) --- packages/client/src/scripts/unison-reload.ts | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'packages/client/src/scripts') diff --git a/packages/client/src/scripts/unison-reload.ts b/packages/client/src/scripts/unison-reload.ts index 59af584c1b..0cd7eff38d 100644 --- a/packages/client/src/scripts/unison-reload.ts +++ b/packages/client/src/scripts/unison-reload.ts @@ -1,7 +1,4 @@ -// SafariがBroadcastChannel未実装なのでライブラリを使う -import { BroadcastChannel } from 'broadcast-channel'; - -export const reloadChannel = new BroadcastChannel('reload'); +export const reloadChannel = new BroadcastChannel('reload'); // string | null // BroadcastChannelを用いて、クライアントが一斉にreloadするようにします。 export function unisonReload(path?: string) { -- cgit v1.2.3-freya