Skip to content

Commit 36c3d0c

Browse files
authored
fix(blog): hydration errors due to newsletter component (#11106)
1 parent 13c468d commit 36c3d0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: client/src/newsletter/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function SignUpForm({ sendUsersToSettings = false, section = false }) {
6161
Get the MDN newsletter and never miss an update on the latest web
6262
development trends, tips, and best practices.
6363
</p>
64-
{sendUsersToSettings && user?.isAuthenticated ? (
64+
{sendUsersToSettings && user?.isAuthenticated && !isServer ? (
6565
<p>
6666
Sign up via the{" "}
6767
<a href={`/${locale}/plus/settings#newsletter`} rel="_blank">

0 commit comments

Comments
 (0)