diff --git a/src/components/Party/index.tsx b/src/components/Party/index.tsx index 5e004dc1..9eeb1d73 100644 --- a/src/components/Party/index.tsx +++ b/src/components/Party/index.tsx @@ -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} /> ) diff --git a/src/components/SummonGrid/index.tsx b/src/components/SummonGrid/index.tsx index 269007f7..d9b4aabd 100644 --- a/src/components/SummonGrid/index.tsx +++ b/src/components/SummonGrid/index.tsx @@ -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) => { diff --git a/src/components/WeaponGrid/index.tsx b/src/components/WeaponGrid/index.tsx index f972a1c9..c9fe3e0f 100644 --- a/src/components/WeaponGrid/index.tsx +++ b/src/components/WeaponGrid/index.tsx @@ -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) => {