upgrade to next.js 16 (#1334)
This commit is contained in:
parent
a3802348fa
commit
e90a6ee209
11 changed files with 272 additions and 247 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue