Verify canary release
Provide environment information
Operating System:
Platform: darwin
Arch: x64
Version: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64
Binaries:
Node: 18.16.0
npm: 9.5.1
Yarn: N/A
pnpm: 8.5.1
Relevant packages:
next: 13.4.3
eslint-config-next: N/A
react: 18.2.0
react-dom: 18.2.0
typescript: N/A
Which area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true)
Link to the code that reproduces this issue or a replay of the bug
https://github.com/gaurishhs/Portfolio
To Reproduce
git clone https://github.com/gaurishhs/Portfolio.git
pnpm i
vc
Describe the Bug
I'm using next-themes along with app directory and i get these Minified react errors in the production deployment only on Vercel. These errors are not there during development mode or if i use vc deploy

Expected Behavior
No such errors
Which browser are you using? (if relevant)
Brave Browser
How are you deploying your application? (if relevant)
Vercel
Verify canary release
Provide environment information
Operating System: Platform: darwin Arch: x64 Version: Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64 Binaries: Node: 18.16.0 npm: 9.5.1 Yarn: N/A pnpm: 8.5.1 Relevant packages: next: 13.4.3 eslint-config-next: N/A react: 18.2.0 react-dom: 18.2.0 typescript: N/AWhich area(s) of Next.js are affected? (leave empty if unsure)
App directory (appDir: true)
Link to the code that reproduces this issue or a replay of the bug
https://github.com/gaurishhs/Portfolio
To Reproduce
Describe the Bug
I'm using

next-themesalong with app directory and i get these Minified react errors in the production deployment only on Vercel. These errors are not there during development mode or if i usevc deployExpected Behavior
No such errors
Which browser are you using? (if relevant)
Brave Browser
How are you deploying your application? (if relevant)
Vercel