mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-13 02:32:15 +01:00
add format check, update prettier rules, apply rules consistently
This commit is contained in:
@@ -76,7 +76,7 @@ export const useCurrentTimeEntryStore = defineStore('currentTimeEntry', () => {
|
||||
currentTimeEntry.value = { ...emptyTimeEntry };
|
||||
}
|
||||
}
|
||||
} catch{
|
||||
} catch {
|
||||
currentTimeEntry.value = { ...emptyTimeEntry };
|
||||
}
|
||||
} else {
|
||||
@@ -144,9 +144,7 @@ export const useCurrentTimeEntryStore = defineStore('currentTimeEntry', () => {
|
||||
);
|
||||
$reset();
|
||||
} else {
|
||||
throw new Error(
|
||||
'Failed to stop current timer because organization ID is missing.'
|
||||
);
|
||||
throw new Error('Failed to stop current timer because organization ID is missing.');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user