Fixes errors
This commit is contained in:
parent
64f00b12de
commit
b6af621448
@ -2,11 +2,11 @@ import { useEffect, useReducer } from "react";
|
||||
import styles from "./App.module.css";
|
||||
import { Equipment } from "./components/Equipment";
|
||||
import { SourceList } from "./components/SourceList";
|
||||
import { SpecSelector } from "./components/SpecSelector";
|
||||
import { WeaponConfigPicker } from "./components/WeaponConfigPicker";
|
||||
import { StateContext } from "./lib/context/StateContext";
|
||||
import { reducer, withLoadingAction } from "./lib/state";
|
||||
import { WeaponConfig, type ItemId } from "./lib/types";
|
||||
import { WeaponConfigPicker } from "./components/WeaponConfigPicker";
|
||||
import { SpecSelector } from "./components/SpecSelector";
|
||||
import { WeaponConfig } from "./lib/types";
|
||||
|
||||
function App() {
|
||||
const [state, dispatch] = useReducer(withLoadingAction(reducer), "loading");
|
||||
|
||||
@ -1,90 +0,0 @@
|
||||
import type { Item } from "../types";
|
||||
|
||||
export const Dawnbreaker = [
|
||||
{
|
||||
id: 219312,
|
||||
slot: "trinket",
|
||||
name: "Empowering Crystal of Anub'ikkaj",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 225574,
|
||||
slot: "back",
|
||||
name: "Wings of Shattered Sorrow",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 219311,
|
||||
slot: "trinket",
|
||||
name: "Void Pactstone",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 221142,
|
||||
slot: "wrist",
|
||||
name: "Scheming Assailer's Bands",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 221137,
|
||||
slot: "2h-weapon",
|
||||
name: "Black Shepherd's Guisarme",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 221144,
|
||||
slot: "1h-weapon",
|
||||
name: "Zephyrous Sail Carver",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 221134,
|
||||
slot: "waist",
|
||||
name: "Shadow Congregant's Belt",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 221145,
|
||||
slot: "1h-weapon",
|
||||
name: "Shipwrecker's Bludgeon",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 221148,
|
||||
slot: "shoulders",
|
||||
name: "Epaulets of the Clipped Wings",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 225583,
|
||||
slot: "waist",
|
||||
name: "Behemoth's Eroded Cinch",
|
||||
source: "dawnbreaker" as const,
|
||||
|
||||
{
|
||||
id: 212453,
|
||||
slot: "trinket",
|
||||
name: "Skyterror's Corrosive Organ",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 212398,
|
||||
slot: "1h-weapon",
|
||||
name: "Bludgeons of Blistering Wind",
|
||||
source: "dawnbreaker" as const,
|
||||
},
|
||||
{
|
||||
id: 221136,
|
||||
slot: "finger",
|
||||
name: "Devout Zealot's Ring",
|
||||
source: "dawnbreaker" as const,
|
||||
icon: "inv_11_0_nerubian_ring_01_color4",
|
||||
},
|
||||
{
|
||||
id: 221141,
|
||||
slot: "finger",
|
||||
name: "High Nerubian Signet",
|
||||
source: "dawnbreaker" as const,
|
||||
icon: "inv_11_0_nerubian_ring_02_color5",
|
||||
},
|
||||
] as Item[];
|
||||
Loading…
Reference in New Issue
Block a user