From 0c69fc2dd138776292807abf93977b51a1b050d4 Mon Sep 17 00:00:00 2001 From: dvelo <52332868+DeveloLongScript@users.noreply.github.com> Date: Tue, 23 Jul 2024 20:56:16 -0500 Subject: [PATCH] Whoops --- README.md | 1 + src/lib/miniMessage2HTML.ts | 1 + 2 files changed, 2 insertions(+) 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 (