chore: upgrade React and Next.js to latest versions

Update project dependencies to React 19 and Next.js 15, including TypeScript type adjustments and async parameter handling across multiple components
This commit is contained in:
swve 2025-03-11 12:50:56 +01:00
parent 81c4190b00
commit 63be0f0ff3
28 changed files with 2781 additions and 2878 deletions

View file

@ -70,7 +70,7 @@ function UserEditGeneral() {
toast.success('Profile Updated Successfully', { duration: 4000 })
// Show message about logging in with new email
toast((t) => (
toast((t: any) => (
<div className="flex items-center gap-2">
<span>Please login again with your new email: {newEmail}</span>
</div>

View file

@ -33,7 +33,7 @@ function UserEditPassword() {
// Show success message and notify about logout
toast.success('Password updated successfully', { duration: 4000 })
toast((t) => (
toast((t: any) => (
<div className="flex items-center gap-2">
<span>Please login again with your new password</span>
</div>