mirror of
https://github.com/immich-app/immich
synced 2025-10-17 18:19:27 +00:00
Fix web lint issues
This commit is contained in:
parent
6725954b70
commit
4f7a3afbfc
40 changed files with 122 additions and 121 deletions
|
|
@ -14,7 +14,6 @@
|
|||
|
||||
const dispatch = createEventDispatcher();
|
||||
|
||||
// eslint-disable-next-line no-undef
|
||||
const editUser = async (event: SubmitEvent) => {
|
||||
try {
|
||||
const formElement = event.target as HTMLFormElement;
|
||||
|
|
@ -25,8 +24,8 @@
|
|||
|
||||
const { status } = await api.userApi.updateUser({
|
||||
id: user.id,
|
||||
firstName: firstName!.toString(),
|
||||
lastName: lastName!.toString()
|
||||
firstName: firstName?.toString(),
|
||||
lastName: lastName?.toString()
|
||||
});
|
||||
|
||||
if (status == 200) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue