diff --git a/packages/files-ui/src/Components/Modules/ErrorModal.tsx b/packages/files-ui/src/Components/Modules/ErrorModal.tsx index 63401716a6..ef39b0a84b 100644 --- a/packages/files-ui/src/Components/Modules/ErrorModal.tsx +++ b/packages/files-ui/src/Components/Modules/ErrorModal.tsx @@ -1,4 +1,3 @@ -/* eslint-disable max-len */ import React from "react" import { Button, Modal, Typography } from "@chainsafe/common-components" import { ROUTE_LINKS } from "../FilesRoutes" @@ -14,7 +13,7 @@ const ErrorModal = ({ error, componentStack, resetError }: Props) => { const generalStyle = { margin: "1rem", - backgrounColor: "var(--gray1)", + backgroundColor: "var(--gray1)", color: "var(--gray9)" } @@ -31,7 +30,7 @@ const ErrorModal = ({ error, componentStack, resetError }: Props) => { ...generalStyle }} > - An unexpected error occured + An unexpected error occurred { Discord -
{ backgroundColor: "ghostwhite", padding: "1rem", marginTop: 0, - color: "black" + color: "black", + maxHeight: "8rem", + overflow: "auto" }} component="p" > -
{error?.message.toString()}
+ {error?.message.toString()}
{ component="p" style={{ ...generalStyle, - height: "5rem", + height: "10rem", overflow: "auto", padding: "1rem", border: "2px solid ghostwhite",