Closed a1603169 closed 6 months ago
It was because of strict mode of configuration of nextjs
`/* @type {import('next').NextConfig} / const nextConfig = { reactStrictMode: true, }
module.exports = nextConfig ` This makes useEffect to turn on twice, but not applied in the production