From dff0bd067b9b52dd41e8385aec5f65831f53988d Mon Sep 17 00:00:00 2001 From: trickypr <23250792+trickypr@users.noreply.github.com> Date: Mon, 13 Nov 2023 22:56:18 +1100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20credits=20page?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/content/credits/Credits.svelte | 2 +- src/content/shared/types/Optional.ts | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 src/content/shared/types/Optional.ts diff --git a/src/content/credits/Credits.svelte b/src/content/credits/Credits.svelte index 21778da..8fd4f63 100644 --- a/src/content/credits/Credits.svelte +++ b/src/content/credits/Credits.svelte @@ -48,7 +48,7 @@ {/if} NPM, License: {pkg.license}

- {@html snarkdown(pkg.licenseText)} + {@html snarkdown(pkg.licenseText || 'No license text provided')} {/each} {/await} diff --git a/src/content/shared/types/Optional.ts b/src/content/shared/types/Optional.ts deleted file mode 100644 index e003224..0000000 --- a/src/content/shared/types/Optional.ts +++ /dev/null @@ -1,3 +0,0 @@ -/* This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. */