Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Nathan Vieira Marcelino committed Apr 24, 2024
1 parent 495c08e commit 6ccc53c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/utils/validationResolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ function set(object: FieldValues, path: string, value?: unknown) {
isObject(objValue) || Array.isArray(objValue)
? objValue
: !isNaN(+tempPath[index + 1])
? []
: {};
? []
: {};
}
object[key] = newValue;
object = object[key];
Expand Down

0 comments on commit 6ccc53c

Please sign in to comment.