mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-10 23:36:14 -05:00
ENG-32 Fixed error while verifying support address (#19648)
This commit is contained in:
parent
c6c66d2a20
commit
aba6c4b5e8
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ const Newsletters: React.FC<{ keywords: string[] }> = ({keywords}) => {
|
||||||
}, [apiNewsletters]);
|
}, [apiNewsletters]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (!verifyEmailToken) {
|
if (!verifyEmailToken || !window.location.href.includes('newsletters')) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue