White space caused by next js __next-build-watcher div (created by usecontext)

Viewed 793

I have a bar at the bottom of the page that is notifying the user when their email is sent.

This bar is created using useContext in React/Next.js. Here is the code in Codebox:

Code

When I go to the page I see a white space on the bottom of the bottom nav:

enter image description here

From the browser I can see the space is caused by the notification bar that when sending an email looks like this:

enter image description here

On the browser:

enter image description here

Any idea on how to get rid of the white space? I have tried css but hasn't worked.

0 Answers
Related