diff --git a/packages/modal/src/modalManager.ts b/packages/modal/src/modalManager.ts index daf5115d9..7f46f7f24 100644 --- a/packages/modal/src/modalManager.ts +++ b/packages/modal/src/modalManager.ts @@ -33,10 +33,6 @@ import { AdaptersModalConfig, IWeb3AuthModal, ModalConfig } from "./interface"; const fetchWhitelabel = async (clientId: string, web3AuthNetwork?: OPENLOGIN_NETWORK_TYPE): Promise => { try { - // TODO: is this check required - if (!clientId) { - throw new Error("unspecified clientId"); - } const url = new URL(`${signerHost(web3AuthNetwork)}/api/whitelabel`); url.searchParams.append("project_id", clientId); const res = await get<{ whitelabel: WhiteLabelData }>(url.href);