chore(frontend): use toast to show message when call copyToClipboard
This commit is contained in:
parent
32844e4775
commit
81a0cbd294
21 changed files with 16 additions and 27 deletions
|
|
@ -100,7 +100,6 @@ function onClick(ev: MouseEvent) {
|
|||
icon: 'ti ti-copy',
|
||||
action: () => {
|
||||
copyToClipboard(`:${props.name}:`);
|
||||
os.success();
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -50,7 +50,6 @@ function onClick(ev: MouseEvent) {
|
|||
icon: 'ti ti-copy',
|
||||
action: () => {
|
||||
copyToClipboard(props.emoji);
|
||||
os.success();
|
||||
},
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue