Skip to content

Commit

Permalink
build: remove ts expect errors
Browse files Browse the repository at this point in the history
  • Loading branch information
dominik-stumpf committed Jul 10, 2024
1 parent 4c2e088 commit 509cf15
Showing 1 changed file with 0 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ import {
useClipboard,
useDisclosure,
} from "@chakra-ui/react"
// @ts-expect-error: fetched from prive sources, prevents successful build
import type { RawPrivateKey, Waas } from "@coinbase/waas-sdk-web"
// eslint-disable-next-line import/no-extraneous-dependencies
import { Check, Copy, Wallet } from "@phosphor-icons/react"
Expand All @@ -36,12 +35,10 @@ import { getDriveFileAppProperties, listWalletsOnDrive } from "../utils/googleDr
const WAAS_DEPRECATION_ERROR_MESSAGE =
"Looks like you don't have an existing Google-based Guild account. We recommend signing in with the Smart Wallet option"

// @ts-expect-error: fetched from prive sources, prevents successful build
let cwaasModule: typeof import("@coinbase/waas-sdk-web")
const cwaasImport = async () => {
if (cwaasModule) return cwaasModule
// eslint-disable-next-line import/no-extraneous-dependencies
// @ts-expect-error: fetched from prive sources, prevents successful build
const mod = await import("@coinbase/waas-sdk-web")
cwaasModule = mod
return mod
Expand Down

0 comments on commit 509cf15

Please sign in to comment.