diff --git a/src/app/HomePage.js b/src/app/HomePage.js index eb41a1f..dd14065 100644 --- a/src/app/HomePage.js +++ b/src/app/HomePage.js @@ -244,8 +244,9 @@ function useSupportSetup() { React.useEffect(() => { const params = new URLSearchParams(location.search); const supportSecret = params.get("supportSecret"); + const existingSupportSecret = localStorage.getItem("supportSecret"); - if (supportSecret) { + if (supportSecret && supportSecret !== existingSupportSecret) { localStorage.setItem("supportSecret", supportSecret); toast({