diff --git a/src/pages/parts/errors/ErrorCard.tsx b/src/pages/parts/errors/ErrorCard.tsx index 55cc81cd..87cb8410 100644 --- a/src/pages/parts/errors/ErrorCard.tsx +++ b/src/pages/parts/errors/ErrorCard.tsx @@ -16,7 +16,7 @@ export function ErrorCard(props: { error: DisplayError | string }) { function copyError() { if (!props.error || !navigator.clipboard) return; - navigator.clipboard.writeText(errorMessage); + navigator.clipboard.writeText(`\`\`\`${errorMessage}\`\`\``); setHasCopied(true);