client: refactor info.vue to composition api

This commit is contained in:
Norm 2022-09-08 04:10:28 -04:00
parent 058d414fff
commit c469a17623
Signed by untrusted user: norm
GPG key ID: 7123E30E441E80DE

View file

@ -6,21 +6,11 @@
</div>
</template>
<script lang="ts">
import { defineComponent } from 'vue';
export default defineComponent({
props: {
warn: {
type: Boolean,
required: false,
default: false,
},
},
data() {
return {
};
},
<script lang="ts" setup>
withDefaults(defineProps<{
warn?: boolean;
}>(), {
warn: false,
});
</script>