Skip to content

Commit e46f345

Browse files
authored
chore(import): Only use a large modal for CSV imports (#4174)
Only use a large modal for CSV imports
1 parent fca6689 commit e46f345

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/compass-import-export/src/components/import-modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ function ImportModal({
201201
open={isOpen}
202202
setOpen={handleClose}
203203
data-testid="import-modal"
204-
size="large"
204+
size={fileType === 'csv' ? 'large' : 'small'}
205205
>
206206
<ModalHeader title="Import" subtitle={`To Collection ${ns}`} />
207207
<ModalBody ref={modalBodyRef}>

0 commit comments

Comments
 (0)