When my nextjs app loads a page, there is a momentary appearance of a 0 in the top left corner. This happens even if I am fetching data from Sanity CMS using getStaticProps and returning content. Interestingly, I have observed that simply returning an empty fraction still triggers the brief appearance of the 0.
return <>{Object?.keys(finalContent).length && <></>}</>;
However, If I return just the empty fraction without checking for
Object?.keys(finalContent).length &&
the 0 does not show up anymore
return <></>; // no 0 in the page
Does anyone know how to eliminate this unexpected behavior?