instructlab / ui

Place to hack on UI for InstructLab
Apache License 2.0
15 stars 38 forks source link

fixing missingSuspenseWithCSRBailout warnings with nextjs 15 bump #356

Closed Gregory-Pereira closed 18 hours ago

Gregory-Pereira commented 1 day ago

This should fix build warnings (link), ex:

#20 15.50  ⚠ Invalid next.config.js options detected: 
#20 15.51  ⚠     Unrecognized key(s) in object: 'missingSuspenseWithCSRBailout' at "experimental"
#20 15.51  ⚠ See more info here: https://nextjs.org/docs/messages/invalid-next-config
#20 15.67 Attention: Next.js now collects completely anonymous telemetry regarding usage.
#20 15.67 This information is used to shape Next.js' roadmap and prioritize features.
#20 15.67 You can learn more, including how to opt-out if you'd not like to participate in this anonymous program, by visiting the following URL:
#20 15.67 https://nextjs.org/telemetry
#20 15.67 
#20 16.77    ▲ Next.js 15.0.3
Gregory-Pereira commented 1 day ago

See relevant link: https://nextjs.org/docs/messages/missing-suspense-with-csr-bailout#possible-ways-to-fix-it

Gregory-Pereira commented 1 day ago

Tested, works fine