NextJS: server-side and client-side mismatch