Cleanup Grid components
Unused includes and props
This commit is contained in:
parent
d93b6e5bdf
commit
0b1b72c27d
3 changed files with 2 additions and 12 deletions
|
|
@ -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}
|
||||
/>
|
||||
)
|
||||
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue