Remove maxWidth for error messages

This commit is contained in:
Serkan Reis
2022-11-02 10:53:17 +03:00
parent 9eb2fdf302
commit fdec20798e
16 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -6,6 +6,6 @@ export async function copy(text: string, message: Renderable = 'Copied to clipbo
await navigator.clipboard.writeText(text)
return toast.success(message)
} catch (err: unknown) {
return toast.error(String(err))
return toast.error(String(err), { style: { maxWidth: 'none' } })
}
}