diff --git a/src/components/WalletToolkit/index.tsx b/src/components/WalletToolkit/index.tsx
index a2c71f8..c2384db 100644
--- a/src/components/WalletToolkit/index.tsx
+++ b/src/components/WalletToolkit/index.tsx
@@ -5,7 +5,11 @@ import WalletDropdown from "./WalletDropdown";
const WalletToolkit = (props) => {
const { dark } = props;
- return (
+ return !process.env.NEXT_PUBLIC_PRIVY_APP_ID ? (
+
+ Privy is not configured
+
+ ) : (
diff --git a/src/contexts/providers.tsx b/src/contexts/providers.tsx
index 6e411ee..f6acdd3 100644
--- a/src/contexts/providers.tsx
+++ b/src/contexts/providers.tsx
@@ -37,18 +37,22 @@ const privyConfig: PrivyClientConfig = {
export default function Providers({ children }: { children: React.ReactNode }) {
return (
-
-
-
- {children}
-
-
-
+
+ {process.env.NEXT_PUBLIC_PRIVY_APP_ID ? (
+
+
+ {children}
+
+
+ ) : (
+ {children}
+ )}
+
);
}