diff --git a/src/components/Layout.js b/src/components/Layout.js index 4da01c36..9d851e82 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 67965749..5a8b1910 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,