@@ -65,7 +54,7 @@ export const ReviewCard: FC = ({
keyName={getAccessionVersionString(sequenceEntryStatus)}
value={sequenceEntryStatus.submissionId}
/>
- {data !== undefined && }
+
{sequenceEntryStatus.isRevocation && (
= ({
/>
- {data?.errors?.length !== undefined && data.errors.length > 0 && (
-
+ {sequenceEntryStatus.errors?.length !== undefined && sequenceEntryStatus.errors.length > 0 && (
+
)}
- {data?.warnings?.length !== undefined && data.warnings.length > 0 && (
-
+ {sequenceEntryStatus.warnings?.length !== undefined && sequenceEntryStatus.warnings.length > 0 && (
+
)}
);
@@ -171,15 +160,14 @@ const ButtonBar: FC