Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
ja-fra committed Apr 2, 2024
1 parent 85e9caf commit 3359d3c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions src/stores/studyStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,11 @@ export const useStudyStore = defineStore('study', () => {
});
})
.catch((e: AxiosError) => {
alert(`Could not update study status: ${(e.response?.data as any)?.message}`);
alert(
`Could not update study status: ${
(e.response?.data as any)?.message
}`
);
handleIndividualError(
e,
'Could not update study status' + study.value.studyId
Expand All @@ -80,7 +84,11 @@ export const useStudyStore = defineStore('study', () => {
study.value.status = status;
})
.catch((e: AxiosError) => {
alert(`Could not update study status: ${(e.response?.data as any)?.message}`);
alert(
`Could not update study status: ${
(e.response?.data as any)?.message
}`
);
handleIndividualError(
e,
'Could not update study status' + study.value.studyId
Expand Down

0 comments on commit 3359d3c

Please sign in to comment.