workaround for yet another import issue

This commit is contained in:
naskya 2023-10-18 03:10:57 +09:00
parent 7b72e823fb
commit b7125966d0
No known key found for this signature in database
GPG key ID: 164DFF24E2D40139

View file

@ -1,8 +1,12 @@
<template>
<!--
FIXME: defaultStore and icon are undefined for some reason
<transition
:name="defaultStore.state.animation ? 'fade' : ''"
mode="out-in"
>
-->
<transition name="" mode="out-in">
<div v-if="pending">
<MkLoading />
</div>
@ -12,11 +16,13 @@
<div v-else>
<div class="wszdbhzo">
<div>
<i :class="icon('ph-warning')"></i>
<!-- <i :class="icon('ph-warning')"></i> -->
<i class="ph-warning ph-bold ph-lg"></i>
{{ i18n.ts.somethingHappened }}
</div>
<MkButton inline class="retry" @click="retry"
><i :class="icon('ph-arrow-clockwise')"></i>
<MkButton inline class="retry" @click="retry">
<!-- <i :class="icon('ph-arrow-clockwise')"></i> -->
<i class="ph-arrow-clockwise ph-bold ph-lg"></i>
{{ i18n.ts.retry }}</MkButton
>
</div>
@ -29,8 +35,8 @@ import type { PropType } from "vue";
import { defineComponent, ref, watch } from "vue";
import MkButton from "@/components/MkButton.vue";
import { i18n } from "@/i18n";
import { defaultStore } from "@/store";
import icon from "@/scripts/icon";
// import { defaultStore } from "@/store";
// import icon from "@/scripts/icon";
export default defineComponent({
components: {