refactor: simplify
This commit is contained in:
parent
0c069e4809
commit
447ed6d941
2 changed files with 10 additions and 20 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue