React: back to the page with navbar spacing when not in use

when I was on the home page. it will have no navbar and top spacing

when I switch tabs and back then

Please help me to solve it. Thanks

Your home page must have noNavbar prop to be set

1 Like

Thanks very much. Please help me. How to get the value of the searchbar. I use react. Thanks