I just decided to clean up a little bit of the code associated with next.js.
List of changes:
Updated nextjs to 13.4.7.
Add typing for nextjs config.
Removed @next/font, because it is not used and deprecated for nextjs 13.4.
Replaced img tag with Image component because of eslint warning. I also added unoptimized:true to the nextjs config to prevent increased hosting costs.
Removed dependencies not used or duplicated (postcss & autoprefixer) with those built into nextjs 13.
I just decided to clean up a little bit of the code associated with next.js.
List of changes: