Skip to content

Commit 124202c

Browse files
committed
重新使用静态导入
1 parent 03ba1d8 commit 124202c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/PlayedGames.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as steamApi from "../utils/steamApi.ts";
33
import * as myApi from "../utils/myApi.ts";
44
import * as utils from "../utils/utils.ts";
55
import GameCard from "../components//GameCard.astro";
6-
const { default: apps } = await import("../../public/assets/app.json");
6+
import apps from "../../public/assets/app.json";
77
import orderGames from "../../public/assets/orderGames.json";
88
import { delay } from "../utils/utils";
99
import { ENABLE_REQUEST } from "astro:env/server";

0 commit comments

Comments
 (0)