From bb16d561be7c37c3c3e4fb5c0d8f8ffc19539618 Mon Sep 17 00:00:00 2001 From: "moxey.eth" Date: Fri, 1 Sep 2023 11:16:38 +1000 Subject: [PATCH] chore: format --- src/utils/rpc.ts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/utils/rpc.ts b/src/utils/rpc.ts index 827029ef7d..35fd50c36b 100644 --- a/src/utils/rpc.ts +++ b/src/utils/rpc.ts @@ -164,9 +164,8 @@ export async function getSocket(url: string) { (WebSocket as unknown as { default?: typeof WebSocket }).default ?.constructor ) - WebSocket_ = ( - WebSocket as unknown as { default: typeof WebSocket } - ).default + WebSocket_ = (WebSocket as unknown as { default: typeof WebSocket }) + .default else WebSocket_ = WebSocket.WebSocket const webSocket = new WebSocket_(url)