Skip to content

Commit

Permalink
Fixed lint condition.
Browse files Browse the repository at this point in the history
  • Loading branch information
Havard Bjerke committed Dec 6, 2022
1 parent 913c02a commit 02f9278
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { FormControlLabel, makeStyles, Switch } from "@material-ui/core";
import { ComponentMeta, ComponentStory } from "@storybook/react";
import React from "react";
import { PickInfo } from "lib";
import DeckGLMap from "../../DeckGLMap";

export default {
Expand Down Expand Up @@ -127,8 +128,7 @@ export const boxSelectionWithCallback: ComponentStory<
> = () => {
const [data, setData] = React.useState<string[]>([]);
const getSelectedWellsDataCallBack = React.useCallback(
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(pickingInfos: any[]) => {
(pickingInfos: PickInfo[]) => {
const selectedWells = pickingInfos
.map((item) => item.object)
.filter((item) => item.type === "Feature")
Expand Down

0 comments on commit 02f9278

Please sign in to comment.