From e4fd64d4cb51c885461847eb7c8b67164566322b Mon Sep 17 00:00:00 2001 From: Hyun Seungmin Date: Thu, 29 Aug 2024 10:05:47 +0900 Subject: [PATCH] remove useless function --- utils/network.ts | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 utils/network.ts diff --git a/utils/network.ts b/utils/network.ts deleted file mode 100644 index 36ac717..0000000 --- a/utils/network.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { PlanetName } from "./apiClient"; - -export function getPlanetName(network: string): PlanetName { - if (network.toLowerCase().includes("odin")) { - return "odin"; - } else if (network.toLowerCase().includes("heimdall")) { - return "heimdall"; - } else { - throw new Error(); - } -}