Skip to content

Commit

Permalink
Linted client-side code again
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeff McMillen authored and Jeff McMillen committed Dec 5, 2024
1 parent 3796d48 commit e3ceba7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions client/src/hooks/datafiles/mutations/useTrash.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export async function trashUtil({
}) {
const url = `/api/datafiles/${api}/trash/${scheme}/${system}/${path}/`;
const body = {
homeDir: homeDir
homeDir: homeDir,
};
const response = await apiClient.put(url, body, {
headers: {
Expand Down Expand Up @@ -100,7 +100,7 @@ function useTrash() {
operation: 'trash',
},
});

callback();
},
onError: () => {
Expand All @@ -121,8 +121,8 @@ function useTrash() {
type: 'ADD_TOAST',
payload: {
message: `${
filteredSelected.length > 1
? `${filteredSelected.length} files moved to Trash`
filteredSelected.length > 1
? `${filteredSelected.length} files moved to Trash`
: 'File moved to Trash'
}`,
},
Expand Down

0 comments on commit e3ceba7

Please sign in to comment.