feat: Make composer work again

This commit is contained in:
Jesse Wierzbinski 2024-12-01 15:30:42 +01:00
parent 4dfbd845d3
commit 294740c97f
No known key found for this signature in database
18 changed files with 571 additions and 32 deletions

View file

@ -27,8 +27,6 @@ const { text } = defineProps<{
const { copy } = useClipboard();
const copyText = () => {
copy(text);
toast("Copied to clipboard", {
icon: <Check class="size-5 text-green-500" />,
});
toast.success("Copied to clipboard");
};
</script>

View file

@ -34,17 +34,13 @@ const { copy } = useClipboard();
const copyText = (text: string) => {
copy(text);
toast("Copied to clipboard", {
icon: <Check class="size-5 text-green-500" />,
});
toast.success("Copied to clipboard");
};
const blockUser = async (id: string) => {
await client.value.blockAccount(id);
toast("User blocked", {
icon: <Ban class="size-5 text-destructive" />,
});
toast.success("User blocked");
};
</script>