From 0fcd3cbd472ce85d30289a2e69e3766713429a74 Mon Sep 17 00:00:00 2001 From: Matthew Russell Date: Thu, 29 Aug 2024 12:07:26 +0200 Subject: [PATCH] chore: change banner to use website --- src/components/Layout.js | 2 +- src/hooks/use-announcement.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Layout.js b/src/components/Layout.js index 4da01c361..9d851e820 100644 --- a/src/components/Layout.js +++ b/src/components/Layout.js @@ -66,7 +66,7 @@ const Layout = ({ children, stickyHeader = true }) => {
{children} diff --git a/src/hooks/use-announcement.ts b/src/hooks/use-announcement.ts index 679657497..5a8b1910c 100644 --- a/src/hooks/use-announcement.ts +++ b/src/hooks/use-announcement.ts @@ -33,7 +33,7 @@ type State = { error: null | string } -const checksum = (data: object) => sha256(Buffer.from(JSON.stringify(data))) +const checksum = (data: object) => JSON.stringify(data) export const useDismissedAnnouncement = (): [ string | null | undefined,