chore: update frontend dependencies within their semver ranges
SvelteKit 2.53 to 2.70 renamed the remote form enhance callback's `form` to `element`, which would have thrown on reset in the signup, device, library and cover forms.
This commit is contained in:
@@ -17,7 +17,7 @@
|
||||
</Card.Header>
|
||||
|
||||
<form
|
||||
{...signup.enhance(async ({ submit, form }) => {
|
||||
{...signup.enhance(async ({ submit, element }) => {
|
||||
try {
|
||||
await submit();
|
||||
|
||||
@@ -29,7 +29,7 @@
|
||||
|
||||
// Move to login tab on success
|
||||
// TODO: Fix previous errors showing on login form
|
||||
form.reset();
|
||||
element.reset();
|
||||
toast.success('Successfully registered!');
|
||||
login.fields.set({ email: '', password: '' });
|
||||
login.validate();
|
||||
|
||||
Reference in New Issue
Block a user