Skip to content

Commit fda0b31

Browse files
committed
fix(new-ui): display error if csv has extra columns
1 parent 650e11a commit fda0b31

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • packages/new-polymath-ui/src/components/CsvUploader/CsvErrors

packages/new-polymath-ui/src/components/CsvUploader/CsvErrors/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ const CsvErrorsComponent: FC<Props> = ({ className }) => {
6868
)}
6969
{data.errors.includes(csvParser.ErrorCodes.extraColumns) && (
7070
<Notification
71-
status="warning"
71+
status="alert"
7272
title="Your .csv has extra columns"
73-
description="Only the columns listed below will be used. Make sure your .csv format is correct."
73+
description="Only the columns listed below can be used. Make sure your .csv format is correct."
7474
/>
7575
)}
7676
</sc.Wrapper>

0 commit comments

Comments
 (0)