Skip to content

Commit

Permalink
fix frontend show
Browse files Browse the repository at this point in the history
  • Loading branch information
guyutongxue committed Jan 1, 2025
1 parent 24d9c76 commit 11af438
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/client/main.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,13 @@
import { buffIconMapping } from "@gi-tcg/static-data/buffIconMapping";
import type { EntityRawData } from "@gi-tcg/static-data";
import { entities as allEntities } from "#common/data_v2.js";
import allIcons from "../output/buffIconList.json";

import "./style.css";

const buffIconMapping = await fetch(
`https://raw.githubusercontent.com/genius-invokation/genius-invokation/refs/heads/main/packages/static-data/scripts/mappings/buff_icons.json`,
).then((r) => r.json());

const entities = allEntities.filter(
(entity) => !entity.hidden && !("cardFace" in entity),
);
Expand Down

0 comments on commit 11af438

Please sign in to comment.