Skip to content

Commit

Permalink
Lint fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
edlouth committed Aug 21, 2023
1 parent e4cebd9 commit d713004
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion grai-frontend/src/components/filters/filters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
} from "@mui/icons-material"
import { Autocomplete, Checkbox, TextField } from "@mui/material"
import arrayFirst from "helpers/arrayFirst"
import arrayWrap, { arrayWrapDefault } from "helpers/arrayWrap"
import { arrayWrapDefault } from "helpers/arrayWrap"

export type Filter = {
type: string | null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import {
Tooltip,
} from "@mui/material"
import theme from "theme"
import arrayWrap from "helpers/arrayWrap"
import notEmpty from "helpers/notEmpty"
import {
Field,
Expand All @@ -23,7 +24,6 @@ import {
import PopperComponent from "./PopperComponent"
import StyledInput from "./StyledInput"
import StyledPopper from "./StyledPopper"
import arrayWrap from "helpers/arrayWrap"

type FilterPopperProps = {
anchorEl: null | HTMLElement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import userEvent from "@testing-library/user-event"
import { GraphQLError } from "graphql"
import { act } from "react-dom/test-utils"
import { render, screen, waitFor } from "testing"
import GraphError from "components/utils/GraphError"
import GraphFilterInline, { GET_WORKSPACE } from "./GraphFilterInline"

const setInlineFilters = jest.fn()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
import React from "react"
import { gql, useQuery } from "@apollo/client"
import { Add, Save } from "@mui/icons-material"
import { Save } from "@mui/icons-material"
import { Box, Button, CircularProgress, Stack } from "@mui/material"
import NotFound from "pages/NotFound"
import useWorkspace from "helpers/useWorkspace"
import {
Filter,
defaultFilter,
getProperties,
} from "components/filters/filters"
import { Filter, getProperties } from "components/filters/filters"
import GraphError from "components/utils/GraphError"
import AddButton from "./AddButton"
import FilterRow from "./FilterRow"
Expand Down

0 comments on commit d713004

Please sign in to comment.