summaryrefslogtreecommitdiff
path: root/src/client/components/error.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/components/error.vue')
-rw-r--r--src/client/components/error.vue10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/components/error.vue b/src/client/components/error.vue
index 90efa700b2..cac24efc8c 100644
--- a/src/client/components/error.vue
+++ b/src/client/components/error.vue
@@ -1,19 +1,19 @@
<template>
<transition :name="$store.state.device.animation ? 'zoom' : ''" appear>
- <div class="mjndxjcg _panel">
+ <div class="mjndxjcg">
<img src="https://xn--931a.moe/assets/error.jpg" class="_ghost"/>
- <p><fa :icon="faExclamationTriangle"/> {{ $t('error') }}</p>
- <mk-button @click="() => $emit('retry')" class="button">{{ $t('retry') }}</mk-button>
+ <p><Fa :icon="faExclamationTriangle"/> {{ $t('somethingHappened') }}</p>
+ <MkButton @click="() => $emit('retry')" class="button">{{ $t('retry') }}</MkButton>
</div>
</transition>
</template>
<script lang="ts">
-import Vue from 'vue';
+import { defineComponent } from 'vue';
import { faExclamationTriangle } from '@fortawesome/free-solid-svg-icons';
import MkButton from './ui/button.vue';
-export default Vue.extend({
+export default defineComponent({
components: {
MkButton,
},