mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-14 03:02:15 +01:00
add format check, update prettier rules, apply rules consistently
This commit is contained in:
@@ -70,10 +70,7 @@ export const useProjectsStore = defineStore('projects', () => {
|
||||
}
|
||||
}
|
||||
|
||||
async function updateProject(
|
||||
projectId: string,
|
||||
updateProjectBody: UpdateProjectBody
|
||||
) {
|
||||
async function updateProject(projectId: string, updateProjectBody: UpdateProjectBody) {
|
||||
const organizationId = getCurrentOrganizationId();
|
||||
if (organizationId) {
|
||||
await handleApiRequestNotifications(
|
||||
@@ -91,9 +88,7 @@ export const useProjectsStore = defineStore('projects', () => {
|
||||
}
|
||||
}
|
||||
|
||||
const projects = computed<Project[]>(
|
||||
() => projectResponse.value?.data || []
|
||||
);
|
||||
const projects = computed<Project[]>(() => projectResponse.value?.data || []);
|
||||
|
||||
return {
|
||||
projects,
|
||||
|
||||
Reference in New Issue
Block a user