hotfix: fix crash

This commit is contained in:
Kainoa Kanter 2023-04-07 17:58:29 -07:00
parent 621be91cdb
commit ec807fc1bd

View file

@ -1,7 +1,6 @@
import { markRaw, ref } from "vue";
import { Storage } from "./pizzax";
import { Theme } from "./scripts/theme";
import { deviceKind } from "@/scripts/device-kind";
export const postFormActions = [];
export const userActions = [];
@ -19,8 +18,6 @@ const menuOptions = [
"search",
];
if (deviceKind === "desktop") menuOptions.push("ui");
// TODO: それぞれいちいちwhereとかdefaultというキーを付けなきゃいけないの冗長なのでなんとかする(ただ型定義が面倒になりそう)
// あと、現行の定義の仕方なら「whereが何であるかに関わらずキー名の重複不可」という制約を付けられるメリットもあるからそのメリットを引き継ぐ方法も考えないといけない
export const defaultStore = markRaw(