How to fix the extra attributes from server error

For me the fix was adding a closing </script> tag instead of <script />

https://nextjs.org/docs/messages/react-hydration-error