small cleanup

This commit is contained in:
Djeeberjr 2021-11-14 16:11:23 +01:00
parent c6beeed8e2
commit 6a893308f2
2 changed files with 1 additions and 4 deletions

View File

@ -12,9 +12,7 @@ const AddItem: React.FC<Props> = ({side,onChange}) => {
const [selected,setSelected] = useState<Item>(Item.DEFAULT_PISTOL)
return (
<div
className=""
>
<div>
<select
onChange={(e)=>setSelected(Item[e.target.value as keyof typeof Item])}
>

View File

@ -1,7 +1,6 @@
import React from "react"
import ItemToDisplay from "../ItemToDisplay"
import Card from "../types/Card"
import Item from "../types/Item"
import Side from "../types/Side"
import AddItem from "./AddItem"
import SwitchButton from "./SwitchButton"