diff --git a/crates/librqbit/webui/src/components/ErrorComponent.tsx b/crates/librqbit/webui/src/components/ErrorComponent.tsx index 9a5e6fa..8061921 100644 --- a/crates/librqbit/webui/src/components/ErrorComponent.tsx +++ b/crates/librqbit/webui/src/components/ErrorComponent.tsx @@ -7,7 +7,7 @@ const AlertDanger: React.FC<{ onClose?: () => void; }> = ({ title, children, onClose }) => { return ( -
+

{title}

{onClose && ( @@ -36,7 +36,7 @@ export const ErrorComponent = (props: { {error.details?.statusText && (
{error.details?.statusText}
)} -
{error.details?.text}
+
{error.details?.text}
); };