Skip to content

Commit

Permalink
fix: update allowing file type condition for signature
Browse files Browse the repository at this point in the history
  • Loading branch information
Nil20 committed Sep 10, 2024
1 parent fa6dfa4 commit d6fef0c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ export function SignatureUploader({
return
}
if (
!allowedFileFormats.includes(
file.type as (typeof allowedFileFormats)[0]
!allowedFileFormats.some((format) =>
file.type.includes(format)
)
) {
setSignatureError(
Expand Down

0 comments on commit d6fef0c

Please sign in to comment.