Skip to content

Commit

Permalink
Fix ESLint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jmgaya committed Oct 8, 2024
1 parent c21d469 commit cc259d6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react-widgets/src/models/TableModel.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { _executeModel } from '@carto/react-api';
import { Methods, executeTask } from '@carto/react-workers';
import { normalizeObjectKeys, wrapModelCall } from './utils';
import { wrapModelCall } from './utils';

export function getTable(props) {
return wrapModelCall(props, fromLocal, fromRemote);
Expand Down
1 change: 0 additions & 1 deletion packages/react-widgets/src/widgets/TableWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ function TableWidget({
const [sortBy, setSortBy] = useState(undefined);
const [sortByColumnType, setSortByColumnType] = useState(undefined);
const [sortDirection, setSortDirection] = useState('asc');
const containsStringSearchFilter = searchColumn && searchText;

const {
data = { rows: [], totalCount: 0, hasData: false },
Expand Down

0 comments on commit cc259d6

Please sign in to comment.