From c49f6b2ef95d2d1ca5fcd3ad849d1f7d55b5ed26 Mon Sep 17 00:00:00 2001 From: Naveed Elahi Date: Mon, 16 Oct 2023 16:53:33 +0800 Subject: [PATCH] update OpenloginAdapter imports otherwise code examples for instantiating don't work --- src/common/sdk/pnp/web/_custom-authentication-core-example.mdx | 2 +- src/common/sdk/pnp/web/_openlogin-whitelabel-example.mdx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/sdk/pnp/web/_custom-authentication-core-example.mdx b/src/common/sdk/pnp/web/_custom-authentication-core-example.mdx index 48d63ace5..822c97bbf 100644 --- a/src/common/sdk/pnp/web/_custom-authentication-core-example.mdx +++ b/src/common/sdk/pnp/web/_custom-authentication-core-example.mdx @@ -1,5 +1,5 @@ ```javascript -import OpenloginAdapter from "@web3auth/openlogin-adapter"; +import { OpenloginAdapter } from "@web3auth/openlogin-adapter"; const openloginAdapter = new OpenloginAdapter({ adapterSettings: { diff --git a/src/common/sdk/pnp/web/_openlogin-whitelabel-example.mdx b/src/common/sdk/pnp/web/_openlogin-whitelabel-example.mdx index f7dd3d85e..efdda7431 100644 --- a/src/common/sdk/pnp/web/_openlogin-whitelabel-example.mdx +++ b/src/common/sdk/pnp/web/_openlogin-whitelabel-example.mdx @@ -1,5 +1,5 @@ ```javascript -import OpenloginAdapter from "@web3auth/openlogin-adapter"; +import { OpenloginAdapter } from "@web3auth/openlogin-adapter"; const openloginAdapter = new OpenloginAdapter({ adapterSettings: {