Unverified Commit 948128ae authored by ro11ingbutler's avatar ro11ingbutler Committed by GitHub

Fix typo (#36592)



## Bug

- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

## Feature

- [ ] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [ ] Related issues linked using `fixes #number`
- [ ] Integration tests added
- [ ] Documentation added
- [ ] Telemetry added. In case of a feature if it's used or not.
- [ ] Errors have helpful link attached, see `contributing.md`

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
parent d6cb99b3
...@@ -226,7 +226,7 @@ export async function getServerSideProps(context) { ...@@ -226,7 +226,7 @@ export async function getServerSideProps(context) {
try { try {
await clientPromise await clientPromise
// `await clientPromise` will use the default database passed in the MONGODB_URI // `await clientPromise` will use the default database passed in the MONGODB_URI
// However you can use another database (e.g. myDatabase) by replacing the `await clientPromise` with the folloing code: // However you can use another database (e.g. myDatabase) by replacing the `await clientPromise` with the following code:
// //
// `const client = await clientPromise` // `const client = await clientPromise`
// `const db = client.db("myDatabase")` // `const db = client.db("myDatabase")`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment