Skip to content

Commit 465287b

Browse files
committed
Remove unused code.
1 parent 9d06fc3 commit 465287b

File tree

2 files changed

+1
-10
lines changed

2 files changed

+1
-10
lines changed

projects/sales-grid/src/app/sales-grid/sales-grid.tsx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,6 @@ export default function SalesGrid() {
7272
setViewDropdown(ref);
7373
}
7474

75-
const [exportDropdown, setExportDropdown] = useState<IgrDropdown>();
76-
function exportDropdownRef(ref: IgrDropdown) {
77-
setExportDropdown(ref);
78-
}
79-
8075
const [pivotGrid, setPivotGrid] = useState<IgrPivotGrid>();
8176
function pivotGridRef(ref: IgrPivotGrid) {
8277
setPivotGrid(ref);
@@ -346,7 +341,7 @@ export default function SalesGrid() {
346341
}
347342

348343
function onExportDropdownButton(event: React.MouseEvent<IgrButton, MouseEvent>) {
349-
console.log("Export to Excel temporary not available.");
344+
console.log("Export to Excel temporary not available.", event);
350345
// TO DO
351346
// Once Excel and CSV exporter are available in React
352347
// let options!: IgrExporterOptionsBase;

src/app/views/sales/sales-view.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
11
import SalesGrid from '../../../../projects/sales-grid/src/app/sales-grid/sales-grid';
2-
import createClassTransformer from '../../style-utils';
32

4-
import styles from './sales-view.module.css';
53
import lightIndigo from 'igniteui-react-grids/grids/themes/light/indigo.css?inline';
64
import sampleStyles from '../../../../projects/sales-grid/src/app/sales-grid/sales-grid.scss?inline';
75

86

97
export default function SalesView() {
10-
const classes = createClassTransformer(styles);
11-
128
return (
139
<>
1410
<style>

0 commit comments

Comments
 (0)