Skip to content

Commit

Permalink
(PC-33592)[PRO] refactor: Delete CsvTable component.
Browse files Browse the repository at this point in the history
  • Loading branch information
gmeigniez-pass committed Dec 13, 2024
1 parent 705655a commit a2a0685
Show file tree
Hide file tree
Showing 12 changed files with 0 additions and 402 deletions.
2 changes: 0 additions & 2 deletions pro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
"lodash.isequal": "^4.5.0",
"lodash.memoize": "^4.1.2",
"orejime": "^2.3.1",
"papaparse": "^5.4.1",
"react": "^18.3.1",
"react-avatar-editor": "^13.0.2",
"react-chartjs-2": "^5.2.0",
Expand Down Expand Up @@ -90,7 +89,6 @@
"@types/lodash.isequal": "^4.5.8",
"@types/lodash.memoize": "^4.1.9",
"@types/node": "^22.10.2",
"@types/papaparse": "^5.3.15",
"@types/query-string": "^6.3.0",
"@types/react": "^18.3.13",
"@types/react-avatar-editor": "^13.0.3",
Expand Down
74 changes: 0 additions & 74 deletions pro/src/commons/utils/__specs__/csvConverter.spec.ts

This file was deleted.

7 changes: 0 additions & 7 deletions pro/src/commons/utils/__specs__/keys.spec.ts

This file was deleted.

21 changes: 0 additions & 21 deletions pro/src/commons/utils/csvConverter.ts

This file was deleted.

4 changes: 0 additions & 4 deletions pro/src/commons/utils/strings.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
export const getKey = (text: string): string => {
return text.toLowerCase().replace(/\s/g, '-')
}

export const sortByLabel = <T extends { [key: string]: string }>(
list: T[]
): T[] => list.sort((a, b) => a.label.localeCompare(b.label, 'fr'))
16 changes: 0 additions & 16 deletions pro/src/pages/CsvTable/CsvTable.tsx

This file was deleted.

23 changes: 0 additions & 23 deletions pro/src/pages/CsvTable/adapters/getCsvData.ts

This file was deleted.

105 changes: 0 additions & 105 deletions pro/src/pages/CsvTable/components/CsvTable/CsvTable.module.scss

This file was deleted.

77 changes: 0 additions & 77 deletions pro/src/pages/CsvTable/components/CsvTable/CsvTable.tsx

This file was deleted.

Loading

0 comments on commit a2a0685

Please sign in to comment.