upgrade to next.js 16 (#1334)

This commit is contained in:
josh 2025-11-29 13:21:34 +00:00 committed by GitHub
parent a3802348fa
commit e90a6ee209
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 272 additions and 247 deletions

View file

@ -25,6 +25,7 @@ export default function Page() {
const { update: updateSession } = useSession();
// biome-ignore lint/correctness/useExhaustiveDependencies: router and updateSession are stable refs
useEffect(() => {
if (state.status === "failed") {
toast({
@ -41,7 +42,6 @@ export default function Page() {
updateSession();
router.refresh();
}
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [state.status]);
const handleSubmit = (formData: FormData) => {