Skip to content

Commit

Permalink
lint + format
Browse files Browse the repository at this point in the history
  • Loading branch information
masinnae committed May 20, 2024
1 parent f094714 commit c6f6f5a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/views/CreateProjectView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ async function submitForm() {
});
} else if (selectedGroupProject.value === "random") {
const groups = divideStudentsIntoGroups(studentsData.value || [], capacity.value);
const groupsToCreate = groups.map((_) => ({
const groupsToCreate = groups.map(() => ({
project_id: createdProjectId,
score: 0,
}));
Expand Down
6 changes: 5 additions & 1 deletion frontend/src/views/GroupView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@
color="red"
variant="flat"
@click="
() => removeStudent({ groupId: group!.id, uid: member.uid })
() =>
removeStudent({
groupId: group!.id,
uid: member.uid,
})
"
>
{{ $t("group.remove") }}</v-btn
Expand Down

0 comments on commit c6f6f5a

Please sign in to comment.