Chore: corrects syntax for type only imports (#1716)

* chore: removes replaces 'import type xxx from 'xxx'' with 'import { type xxx} from 'xxx'''

* chore: remove typed imports

* chore: remove typed imports

* chore: cleanup

---------

Co-authored-by: Lucas Bordeau <bordeau.lucas@gmail.com>
This commit is contained in:
Ronit Panda
2023-09-26 15:17:35 +05:30
committed by GitHub
parent 26de4bab35
commit 8639cb921e
194 changed files with 252 additions and 254 deletions

View File

@ -1,10 +1,10 @@
import { useCallback, useState } from 'react';
import { useTheme } from '@emotion/react';
import styled from '@emotion/styled';
import type XLSX from 'xlsx-ugnis';
import { WorkBook } from 'xlsx-ugnis';
import { useSpreadsheetImportInternal } from '@/spreadsheet-import/hooks/useSpreadsheetImportInternal';
import type { RawData } from '@/spreadsheet-import/types';
import { RawData } from '@/spreadsheet-import/types';
import { exceedsMaxRecords } from '@/spreadsheet-import/utils/exceedsMaxRecords';
import { mapWorkbook } from '@/spreadsheet-import/utils/mapWorkbook';
import { Modal } from '@/ui/modal/components/Modal';
@ -37,7 +37,7 @@ export type StepState =
}
| {
type: StepType.selectSheet;
workbook: XLSX.WorkBook;
workbook: WorkBook;
}
| {
type: StepType.selectHeader;