fix: Revert "#20095 - fix(database): make to display validation error msg when all … (#21277)

This commit is contained in:
Joe Li
2022-08-31 15:56:56 -07:00
committed by GitHub
parent a7fe4850ed
commit 4b221378cc
4 changed files with 12 additions and 50 deletions

View File

@@ -32,7 +32,6 @@ type Props = {
copyText?: string;
stackTrace?: string;
source?: ErrorSource;
description?: string;
errorMitigationFunction?: () => void;
};
@@ -44,7 +43,6 @@ export default function ErrorMessageWithStackTrace({
link,
stackTrace,
source,
description,
}: Props) {
// Check if a custom error message component was registered for this message
if (error) {
@@ -68,7 +66,6 @@ export default function ErrorMessageWithStackTrace({
title={title}
subtitle={subtitle}
copyText={copyText}
description={description}
source={source}
body={
link || stackTrace ? (