Skip to content

Commit

Permalink
type
Browse files Browse the repository at this point in the history
  • Loading branch information
jiikko committed Jan 13, 2024
1 parent 2989921 commit 8c2c7b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/porcon_color_form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React, { useContext } from "react";
import Form from "react-bootstrap/Form";
import { SettingContext } from "src/contexts/buttons_setting";
import { updateProconColor } from "src/reducers/setting_reducer";
import { colors } from "src/types/procon_color";
import { ProconColor, colors } from "src/types/procon_color";

export const ProconColorForm: React.FC = () => {
const { setting, settingDispatch } = useContext(SettingContext);
Expand Down Expand Up @@ -30,7 +30,7 @@ export const ProconColorForm: React.FC = () => {
id="proconColor"
>
<option value={""}>未選択</option>
{colors.map((color: string, index) => (
{colors.map((color: ProconColor, index) => (
<option key={index} value={color}>
{color}
</option>
Expand Down

0 comments on commit 8c2c7b0

Please sign in to comment.