Skip to content

Commit

Permalink
Shortened syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jsoi-eq committed Jan 17, 2025
1 parent 8340e6d commit dec4e74
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/modules/Preservation/views/AddScope/AddScope.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,7 @@ const AddScope = (): JSX.Element => {
error.data
);
showSnackbarNotification(
error.data != null &&
error.data.data != null &&
error.data.data.length > 0
error.data?.data?.length > 0
? error.data.data[0]
: error.message,
10000
Expand Down

0 comments on commit dec4e74

Please sign in to comment.