From 92bc2962b861d51a5fe914ff870a273e27646980 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Wed, 5 Jun 2024 09:54:11 +0200 Subject: [PATCH] web-ui: remove type test method --- pkgs/webview-ui/app/src/message.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/pkgs/webview-ui/app/src/message.ts b/pkgs/webview-ui/app/src/message.ts index 15f5616f..f661370a 100644 --- a/pkgs/webview-ui/app/src/message.ts +++ b/pkgs/webview-ui/app/src/message.ts @@ -73,11 +73,6 @@ const deserialize = const pyApi: PyApi = {} as PyApi; -pyApi.create_clan.receive((r) => { - if (r.status === "success") { - r.status; - } -}); operationNames.forEach((opName) => { const name = opName as OperationNames; // @ts-expect-error - TODO: Fix this. Typescript is not recognizing the receive function correctly