Skip to content

Commit

Permalink
chore: change banner to use website
Browse files Browse the repository at this point in the history
  • Loading branch information
mattrussell36 committed Aug 29, 2024
1 parent ccf393e commit 0fcd3cb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ const Layout = ({ children, stickyHeader = true }) => {
</GeorestrictedContext.Consumer>
<div>
<AnnouncementBanner
app="wallet"
app="website"
configUrl={process.env.GATSBY_ANNOUNCEMENTS_CONFIG_URL}
/>
{children}
Expand Down
2 changes: 1 addition & 1 deletion src/hooks/use-announcement.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0fcd3cb

Please sign in to comment.