refactor: simplify

This commit is contained in:
三咲智子 2022-12-01 21:22:03 +08:00
parent 0c069e4809
commit 447ed6d941
No known key found for this signature in database
GPG key ID: 69992F2250DFD93E
2 changed files with 10 additions and 20 deletions

View file

@ -1,11 +1,5 @@
<script setup lang="ts">
function openDialog() {
openPublishDialog()
}
</script>
<template>
<button btn-outline rounded-full font-bold py4 flex="~ gap2 center" @click="openDialog">
<button btn-outline rounded-full font-bold py4 flex="~ gap2 center" @click="openPublishDialog()">
<div i-ri:quill-pen-line />
{{ $t('action.compose') }}
</button>