diff --git a/README.md b/README.md index 61ce617..3fad128 100644 --- a/README.md +++ b/README.md @@ -26,6 +26,7 @@ Clone the repo! First, you must supply the following services with API keys: - [Clerk](https://clerk.com): Create an app and put the respective keys in `.env.local` +- MongoDB: Create a database, can be anywhere, and put the location to connect in `.env.local` for the key `MONGO_DB` Second, run `npm i` and `npm run build`. To start the app, run `npm run start`. diff --git a/src/lib/miniMessage2HTML.ts b/src/lib/miniMessage2HTML.ts index 16d5cbd..ece4ade 100644 --- a/src/lib/miniMessage2HTML.ts +++ b/src/lib/miniMessage2HTML.ts @@ -151,6 +151,7 @@ function createHTML( ) { if (className == undefined) className = ""; if (contents == undefined) contents = ""; + if (contents == "undefined") contents = "
"; if (tw == false || tw == undefined) { return (