1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-17 18:25:30 +02:00
Files
misskey/packages/frontend/src/components/global/MkError.vue
syuilo 925dd76f00 🎨
2025-05-06 16:51:01 +09:00

26 lines
503 B
Vue

<!--
SPDX-FileCopyrightText: syuilo and misskey-project
SPDX-License-Identifier: AGPL-3.0-only
-->
<template>
<MkResult type="error">
<MkButton :class="$style.button" rounded @click="() => emit('retry')">{{ i18n.ts.retry }}</MkButton>
</MkResult>
</template>
<script lang="ts" setup>
import MkButton from '@/components/MkButton.vue';
import { i18n } from '@/i18n.js';
const emit = defineEmits<{
(ev: 'retry'): void;
}>();
</script>
<style lang="scss" module>
.button {
margin: 0 auto;
}
</style>