We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f012c4 commit 9c25d9bCopy full SHA for 9c25d9b
src/components/CopyPageButton/index.tsx
@@ -49,9 +49,12 @@ const CopyDropdownButton: React.FC = () => {
49
if (response.status === 200) {
50
navigator.clipboard.writeText(response.data);
51
} else {
52
- alert($t("Failed to copy markdown"));
+ copyHtml();
53
}
54
})
55
+ .catch(() => {
56
57
+ })
58
.finally(() => {
59
setLoading(false);
60
setTimeout(() => {
0 commit comments