Skip to content

Commit 4dbe4c9

Browse files
author
Bot
committed
feat: fixing the build errors
1 parent ff88d08 commit 4dbe4c9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

connection.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import {
55
type AppKitNetwork,
66
} from "@reown/appkit/networks";
77

8-
// 1. Get projectId
9-
const projectId = process.env.NEXT_PUBLIC_APPKIT_PROJECT_ID;
8+
const projectId = process.env.NEXT_PUBLIC_APPKIT_PROJECT_ID || "default_project_id";
109
if (!projectId) {
1110
throw new Error(
1211
"Missing NEXT_PUBLIC_APPKIT_PROJECT_ID. Set it in your .env file.",

0 commit comments

Comments
 (0)