Skip to content

Commit 9ecc246

Browse files
BSd3vKoolADE85
authored andcommitted
fix for lint again
1 parent f81fa6c commit 9ecc246

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/lib/components/AgGrid.react.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import PropTypes from 'prop-types';
22
import LazyLoader from '../LazyLoader';
33
import React, {lazy, Suspense, useState, useCallback, useEffect} from 'react';
4-
import { pick } from 'ramda';
4+
import {pick} from 'ramda';
55

66
const RealAgGrid = lazy(LazyLoader.agGrid);
77
const RealAgGridEnterprise = lazy(LazyLoader.agGridEnterprise);
@@ -72,12 +72,15 @@ function DashAgGrid(props) {
7272

7373
const REACT_VERSION_DASH2_COMPAT = 18.3;
7474
if (
75-
parseFloat(React.version.substring(0, React.version.lastIndexOf('.'))) <
75+
parseFloat(React.version.substring(0, React.version.lastIndexOf('.'))) <
7676
REACT_VERSION_DASH2_COMPAT
7777
) {
7878
DashAgGrid.defaultProps = defaultProps;
7979
} else {
80-
DashAgGrid.dashPersistence = pick(['persisted_props', 'persistence_type'],defaultProps);
80+
DashAgGrid.dashPersistence = pick(
81+
['persisted_props', 'persistence_type'],
82+
defaultProps
83+
);
8184
}
8285

8386
DashAgGrid.dashRenderType = true;

src/lib/fragments/AgGrid.react.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@ import {
1515
assoc,
1616
assocPath,
1717
} from 'ramda';
18-
import {
19-
propTypes as _propTypes,
20-
apiGetters,
21-
} from '../components/AgGrid.react';
18+
import {propTypes as _propTypes, apiGetters} from '../components/AgGrid.react';
2219
import {
2320
COLUMN_DANGEROUS_FUNCTIONS,
2421
COLUMN_MAYBE_FUNCTIONS,

0 commit comments

Comments
 (0)