Skip to content

Commit

Permalink
MORE-721: Linter Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
iaigner committed May 8, 2023
1 parent e9364ce commit 7aff9a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/stores/studyStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Study, StudyRole, StudyStatus } from '../generated-sources/openapi';
import { useStudiesApi } from '../composable/useApi';
import { AxiosError, AxiosResponse } from 'axios';
import { useErrorHandling } from '../composable/useErrorHandling';
import {useStudyGroupStore} from "./studyGroupStore";
import { useStudyGroupStore } from './studyGroupStore';

export const useStudyStore = defineStore('study', () => {
const { studiesApi } = useStudiesApi();
Expand Down Expand Up @@ -59,7 +59,7 @@ export const useStudyStore = defineStore('study', () => {
.createStudy(study)
.then((response) => {
studies.value.push(response.data);
studyGroupStore.studyGroups = []
studyGroupStore.studyGroups = [];
})
.catch((e: AxiosError) =>
handleIndividualError(e, 'cannot create study')
Expand Down

0 comments on commit 7aff9a0

Please sign in to comment.