Skip to content

Commit

Permalink
fix list asset
Browse files Browse the repository at this point in the history
  • Loading branch information
abdelkrimdev committed Mar 21, 2023
1 parent 226e6ff commit 6ddb33b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/mongodb.ts
Expand Up @@ -21,7 +21,7 @@ if (process.env.NODE_ENV === "development") {
client = new MongoClient(uri, options);
globalWithMongo._mongoClientPromise = client.connect();
}
clientPromise = globalWithMongo._mongoClientPromise;
clientPromise = globalWithMongo._mongoClientPromise!;
} else {
// In production mode, it's best to not use a global variable.
client = new MongoClient(uri, options);
Expand Down
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -11,8 +11,8 @@
"dependencies": {
"@headlessui/react": "^1.7.10",
"@heroicons/react": "^2.0.15",
"@meshsdk/contracts": "^1.0.0-beta.2",
"@meshsdk/core": "^1.5.1",
"@meshsdk/contracts": "^1.0.0-beta.3",
"@meshsdk/core": "^1.5.2",
"@meshsdk/react": "^1.1.6",
"@next/font": "13.1.6",
"@types/node": "18.13.0",
Expand Down

0 comments on commit 6ddb33b

Please sign in to comment.