Render PushNotification on client only
The push logic is only available on the client and causes hydration mismatch when rendered on the server.
This commit is contained in:
parent
f2ab306338
commit
c7b4f5fa92
1 changed files with 3 additions and 1 deletions
|
@ -15,7 +15,9 @@
|
||||||
</button>
|
</button>
|
||||||
</form>
|
</form>
|
||||||
<p>
|
<p>
|
||||||
|
<ClientOnly>
|
||||||
<PushNotification />
|
<PushNotification />
|
||||||
|
</ClientOnly>
|
||||||
</p>
|
</p>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>Danger Zone</legend>
|
<legend>Danger Zone</legend>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue