mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
feat: ✨ Make composer work again
This commit is contained in:
parent
4dfbd845d3
commit
294740c97f
18 changed files with 571 additions and 32 deletions
|
|
@ -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>
|
||||
|
|
@ -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>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue