switch to empty initial cart

This commit is contained in:
dylan
2023-05-06 15:16:53 -07:00
parent 86d8a8b166
commit 3518538b39
5 changed files with 4 additions and 2 deletions

View File

@ -1,7 +1,7 @@
import fakeCart from "./cart_unpacked.json" assert { type: "json" };
import initialCart from "./initialCart.json" assert { type: "json" };
import { Sheet } from "./sheet.ts";
let cart = fakeCart as Array<Sheet>;
let cart = initialCart as Array<Sheet>;
export const saveCart = async (fname: string) => {
await Deno.writeTextFile("./carts/"+fname+".fx", JSON.stringify(getCart()));