Skip to content

Commit

Permalink
chore: robotsから引用するようにした
Browse files Browse the repository at this point in the history
  • Loading branch information
Suzune2741 committed Oct 18, 2024
1 parent 6727780 commit 8aff138
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions packages/kcmsf/src/pages/teams.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,10 @@ export const Teams = () => {
label: clubName,
}))
.concat([{ value: "", label: "(所属なし)" }]);
const robotType = config.robotTypes.map((type) => ({
value: type,
label: type === "leg" ? "歩行型" : "車輪型",
}));
const robotType = config.robots.map(({type, name}) => ({
value: type,
label: name,
}));
const departmentType = config.departments.map(({ type, name }) => ({
value: type,
label: name,
Expand Down

0 comments on commit 8aff138

Please sign in to comment.