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>
|
||||
</form>
|
||||
<p>
|
||||
<PushNotification />
|
||||
<ClientOnly>
|
||||
<PushNotification />
|
||||
</ClientOnly>
|
||||
</p>
|
||||
<fieldset>
|
||||
<legend>Danger Zone</legend>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue