visuddhinanda hace 2 años
padre
commit
400d74ee12
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      dashboard/src/components/general/ErrorResult.tsx

+ 1 - 1
dashboard/src/components/general/ErrorResult.tsx

@@ -35,7 +35,7 @@ const ErrorResultWidget = ({ code, message }: IWidget) => {
     <Result
       status={strStatus}
       title={strTitle}
-      subTitle="Sorry, something went wrong."
+      subTitle={message ? message : "Sorry, something went wrong."}
     />
   );
 };