From 2d9908bd67dfcaf7344816699ba1bcb666db9971 Mon Sep 17 00:00:00 2001 From: Ben Cotton Date: Wed, 18 Sep 2024 14:58:42 -0400 Subject: [PATCH] Fix release build errors (#99) * Escape apostrophes This makes the linter happy Partially addresses #97 Signed-off-by: Ben Cotton * Disable the missingSuspenseWithCSRBailout option This allows the project to build, but it is not a long-term fix, as the option won't be available in Next 15 (we're using 14). See issue #98 for more details. Signed-off-by: Ben Cotton --------- Signed-off-by: Ben Cotton --- components/known/knownInfo.tsx | 4 ++-- components/layout/footer.tsx | 2 +- next.config.js | 5 +++++ 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/components/known/knownInfo.tsx b/components/known/knownInfo.tsx index 5fe9419..db68afc 100644 --- a/components/known/knownInfo.tsx +++ b/components/known/knownInfo.tsx @@ -265,7 +265,7 @@ const KnownInfo = () => {
{handleSbomClicked && (sboms.length === 0 ? ( -

Didn't find SBOMs

+

Didn't find SBOMs

) : (
    {sboms.map((sbom) => ( @@ -288,7 +288,7 @@ const KnownInfo = () => {
    {handleVulnClicked && (filteredVulns.length === 0 ? ( -

    Didn't find vulns

    +

    Didn't find vulns

    ) : (
      {filteredVulns.map((vuln, index) => ( diff --git a/components/layout/footer.tsx b/components/layout/footer.tsx index 63a116a..025a24b 100644 --- a/components/layout/footer.tsx +++ b/components/layout/footer.tsx @@ -3,7 +3,7 @@ export default function Footer() { <>

      - We'd love to hear how we can make the visualizer more useful.{" "} + We'd love to hear how we can make the visualizer more useful.{" "}