Remove GridType definitions in favor of the shared one
This commit is contained in:
parent
88b05c6de8
commit
194b1c5ff3
4 changed files with 2 additions and 32 deletions
|
|
@ -2,14 +2,6 @@ import React from 'react'
|
|||
import SummonUnit from '~components/SummonUnit'
|
||||
import './index.scss'
|
||||
|
||||
// GridType
|
||||
export enum GridType {
|
||||
Class,
|
||||
Character,
|
||||
Weapon,
|
||||
Summon
|
||||
}
|
||||
|
||||
// Props
|
||||
interface Props {
|
||||
grid: GridArray<GridSummon>
|
||||
|
|
|
|||
|
|
@ -3,14 +3,6 @@ import WeaponUnit from '~components/WeaponUnit'
|
|||
|
||||
import './index.scss'
|
||||
|
||||
// GridType
|
||||
export enum GridType {
|
||||
Class,
|
||||
Character,
|
||||
Weapon,
|
||||
Summon
|
||||
}
|
||||
|
||||
// Props
|
||||
interface Props {
|
||||
grid: GridArray<GridWeapon>
|
||||
|
|
|
|||
|
|
@ -9,18 +9,10 @@ import SummonGrid from '~components/SummonGrid'
|
|||
import CharacterGrid from '~components/CharacterGrid'
|
||||
|
||||
import api from '~utils/api'
|
||||
import { TeamElement } from '~utils/enums'
|
||||
import { GridType, TeamElement } from '~utils/enums'
|
||||
|
||||
import './index.scss'
|
||||
|
||||
// GridType
|
||||
enum GridType {
|
||||
Class,
|
||||
Character,
|
||||
Weapon,
|
||||
Summon
|
||||
}
|
||||
|
||||
// Props
|
||||
interface Props {
|
||||
slug?: string
|
||||
|
|
|
|||
|
|
@ -7,13 +7,7 @@ import SegmentedControl from '~components/SegmentedControl'
|
|||
import Segment from '~components/Segment'
|
||||
import ToggleSwitch from '~components/ToggleSwitch'
|
||||
|
||||
// GridType
|
||||
export enum GridType {
|
||||
Class,
|
||||
Character,
|
||||
Weapon,
|
||||
Summon
|
||||
}
|
||||
import { GridType } from '~utils/enums'
|
||||
|
||||
interface Props {
|
||||
selectedTab: GridType
|
||||
|
|
|
|||
Loading…
Reference in a new issue