refactor to ui components

This commit is contained in:
2023-05-26 16:43:12 +02:00
parent a642fcd1fb
commit c3bd807bff
13 changed files with 122 additions and 125 deletions

View File

@@ -45,7 +45,7 @@ const handleClick = (fn: (...args: any[]) => any) => {
{{ sourceLabels[source] }}
</a>
</li>
<Modal>
<UIModal>
<template #activator="{ open }">
<li @click="open" class="text-base">
<a>
@@ -63,7 +63,7 @@ const handleClick = (fn: (...args: any[]) => any) => {
<button class="btn-sm btn" @click="close">Cancel</button>
<button class="btn-primary btn-sm btn" @click="signOut(close)">Sign out</button>
</template>
</Modal>
</UIModal>
</ul>
</div>
</OnClickOutside>