Cleanup Grid components

Unused includes and props
This commit is contained in:
Justin Edmund 2020-10-19 00:44:19 -07:00
parent d93b6e5bdf
commit 0b1b72c27d
3 changed files with 2 additions and 12 deletions

View file

@ -64,7 +64,6 @@ const Party = (props: Props) => {
editable={props.editable}
exists={props.exists}
onSelect={itemSelected}
pushHistory={props.pushHistory}
/>
)
@ -77,7 +76,6 @@ const Party = (props: Props) => {
editable={props.editable}
exists={props.exists}
onSelect={itemSelected}
pushHistory={props.pushHistory}
/>
)

View file

@ -1,7 +1,4 @@
import React, { useEffect, useState } from 'react'
import { useCookies } from 'react-cookie'
import api from '~utils/api'
import React from 'react'
import SummonUnit from '~components/SummonUnit'
import './index.css'
@ -25,7 +22,6 @@ interface Props {
exists: boolean
found?: boolean
onSelect: (type: GridType, summon: Summon, position: number) => void
pushHistory?: (path: string) => void
}
const SummonGrid = (props: Props) => {

View file

@ -1,7 +1,4 @@
import React, { useEffect, useState } from 'react'
import { useCookies } from 'react-cookie'
import api from '~utils/api'
import React from 'react'
import WeaponUnit from '~components/WeaponUnit'
import './index.css'
@ -24,7 +21,6 @@ interface Props {
exists: boolean
found?: boolean
onSelect: (type: GridType, weapon: Weapon, position: number) => void
pushHistory?: (path: string) => void
}
const WeaponGrid = (props: Props) => {