mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-23 03:42:27 +03:00
ENG-32 Fixed error while verifying support address (#19648)
This commit is contained in:
parent
c6c66d2a20
commit
aba6c4b5e8
@ -42,7 +42,7 @@ const Newsletters: React.FC<{ keywords: string[] }> = ({keywords}) => {
|
||||
}, [apiNewsletters]);
|
||||
|
||||
useEffect(() => {
|
||||
if (!verifyEmailToken) {
|
||||
if (!verifyEmailToken || !window.location.href.includes('newsletters')) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user