Skip to content

Commit

Permalink
Update index.tsx (#695)
Browse files Browse the repository at this point in the history
* Update index.tsx

* Update .eslintrc.js

* Update index.tsx

* Update index.tsx
  • Loading branch information
mddifilippo89 authored Dec 16, 2024
1 parent 88a7b5a commit 38199ff
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion browser/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ module.exports = {
"plugin:react/recommended", // Uses the recommended rules from @eslint-plugin-react
"plugin:@typescript-eslint/recommended" // Uses the recommended rules from @typescript-eslint/eslint-plugin
],
extends: ["@babel/plugin-transform-private-property-in-object", "next/core-web-vitals"],
rules: {
// Place to specify ESLint rules. Can be used to overwrite rules specified from the extended configs
"default-case": "off",
Expand Down
8 changes: 4 additions & 4 deletions samples/grids/pivot-grid/features/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ReactDOM from 'react-dom/client';
import './index.css';

import { IgrPivotGridModule } from 'igniteui-react-grids';
import { IgrPivotGrid, IgrPivotConfiguration, IgrPivotDateDimension, IgrPivotDimension, IgrPivotDateDimensionOptions, SortingDirection, IgrPivotValue, IgrPivotAggregator } from 'igniteui-react-grids';
import { IgrPivotGrid, IgrPivotConfiguration, IgrPivotDateDimension, IgrPivotDimension, IgrPivotDateDimensionOptions, SortingDirection, IgrPivotValue, IgrPivotAggregator, PivotAggregationType } from 'igniteui-react-grids';
import { PivotDataFlatItem, PivotDataFlat } from './PivotDataFlat';

import 'igniteui-react-grids/grids/combined';
Expand Down Expand Up @@ -66,18 +66,18 @@ export default class Sample extends React.Component<any, any> {
SumOfSale.key = "SUM";
SumOfSale.label = "Sum of Sale";
SumOfSale.aggregator = this.pivotDataFlatAggregateSumSale;
SumOfSale.aggregatorName = "SUM";
SumOfSale.aggregatorName = PivotAggregationType.SUM;

var MinOfSale = new IgrPivotAggregator();
MinOfSale.key = "MIN";
MinOfSale.label = "Minimum of Sale";
MinOfSale.aggregator = this.pivotDataFlatAggregateMinSale;
MinOfSale.aggregatorName = "MIN";
MinOfSale.aggregatorName = PivotAggregationType.MIN;

var MaxOfSale = new IgrPivotAggregator();
MaxOfSale.key = "MAX";
MaxOfSale.label = "Maximum of Sale";
MaxOfSale.aggregatorName = "MAX";
MaxOfSale.aggregatorName = PivotAggregationType.MAX;
MaxOfSale.aggregator = this.pivotDataFlatAggregateMaxSale;

igrPivotValue1.aggregateList = [SumOfSale,MinOfSale,MaxOfSale];
Expand Down
2 changes: 1 addition & 1 deletion samples/inputs/color-editor/overview/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import ReactDOM from 'react-dom/client';
import './index.css';

import { IgrColorEditorModule } from 'igniteui-react-inputs';
import { IgrColorEditor } from 'igniteui-react-dashboards';
import { IgrColorEditor } from 'igniteui-react-inputs';

const mods: any[] = [
IgrColorEditorModule
Expand Down

0 comments on commit 38199ff

Please sign in to comment.