diff --git a/landing/siwe.react.js b/landing/siwe.react.js --- a/landing/siwe.react.js +++ b/landing/siwe.react.js @@ -6,10 +6,9 @@ import { SiweMessage } from 'siwe'; import { useAccount, useSigner } from 'wagmi'; -const domain = window.location.host; -const origin = window.location.origin; - function createSiweMessage(address, statement) { + const domain = window.location.host; + const origin = window.location.origin; const message = new SiweMessage({ domain, address,