1
0
mirror of https://github.com/misskey-dev/misskey synced 2024-11-24 07:06:31 +09:00

refactor(client): use setup syntax

This commit is contained in:
syuilo 2022-09-06 18:09:17 +09:00
parent d4e284c859
commit 0b99ffa8f9

View File

@ -6,23 +6,12 @@
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import * as os from '@/os';
<script lang="ts" setup>
import { } from 'vue';
export default defineComponent({
props: {
warn: {
type: Boolean,
required: false,
default: false
},
},
data() {
return {
};
}
});
const props = defineProps<{
warn?: boolean;
}>();
</script>
<style lang="scss" scoped>