refac
This commit is contained in:
1 parent
d9a3b02e3f
commit
08ff9863d5
3 files changed
+26
-16
No files matched your search
@@ -1082,7 +1082,11 @@ Provide the enhanced notes in markdown format. Use markdown syntax for headings,
|
||||
}
|
||||
}}
|
||||
onCopyToClipboard={async () => {
|
||||
const res = await copyToClipboard(note.data.content.md).catch((error) => {
|
||||
const res = await copyToClipboard(
|
||||
note.data.content.md,
|
||||
note.data.content.html,
|
||||
true
|
||||
).catch((error) => {
|
||||
toast.error(`${error}`);
|
||||
return null;
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user