Skip to content

Commit

Permalink
Fix code style issues with ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Aug 24, 2023
1 parent b738024 commit 4077602
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions grai-frontend/src/components/nodes/BarChart.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from "react"
import { lighten } from "@mui/material"
import {
BarElement,
CategoryScale,
Chart,
ChartOptions,
LinearScale,
} from "chart.js"
import React from "react"
import ChartDataLabels from "chartjs-plugin-datalabels"
import { Bar } from "react-chartjs-2"
import theme from "theme"
import ChartDataLabels from "chartjs-plugin-datalabels"
import { lighten } from "@mui/material"

const BarChart: React.FC = () => {
const data = [
Expand Down
4 changes: 2 additions & 2 deletions grai-frontend/src/components/nodes/LineChart.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import React from "react"
import { lighten } from "@mui/material"
import {
Chart,
ChartData,
ChartOptions,
LineElement,
PointElement,
} from "chart.js"
import React from "react"
import { Scatter } from "react-chartjs-2"
import theme from "theme"
import { lighten } from "@mui/material"

type LineChartProps = {}

Expand Down
4 changes: 2 additions & 2 deletions grai-frontend/src/components/nodes/NodeProfile.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import React from "react"
import { Card, Grid, Stack, Table, TableBody } from "@mui/material"
// import { Column } from "./columns/TableColumnsTable"
import TableDependencies from "./TableDependencies"
import TableDetail from "./TableDetail"
import NodeDetailRow from "components/layout/NodeDetailRow"
import LinearProgress from "components/progress/LinearProgress"
import BarChart from "./BarChart"
import LineChart from "./LineChart"
import TableDependencies from "./TableDependencies"
import TableDetail from "./TableDetail"

// interface BaseTable {
// id: string
Expand Down
2 changes: 1 addition & 1 deletion grai-frontend/src/components/nodes/columns/ColumnData.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react"
import { Stack } from "@mui/material"
import LinearProgress from "components/progress/LinearProgress"
import React from "react"

const ColumnData: React.FC = () => (
<Stack direction="row" spacing={1}>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ import {
TableRow,
Typography,
} from "@mui/material"
import { Link } from "react-router-dom"
import theme from "theme"
import { enrichColumns } from "helpers/columns"
import useWorkspace from "helpers/useWorkspace"
import ColumnData from "./ColumnData"
import ColumnProperties from "./ColumnProperties"
import ColumnRequirements from "./ColumnRequirements"
import ColumnTests from "./ColumnTests"
import ColumnData from "./ColumnData"
import { Link } from "react-router-dom"
import useWorkspace from "helpers/useWorkspace"

interface GraiColumnMetadata {
node_attributes: {
Expand Down
2 changes: 1 addition & 1 deletion grai-frontend/src/components/progress/LinearProgress.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import React from "react"
import {
Box,
LinearProgress as BaseLinearProgress,
Typography,
LinearProgressPropsColorOverrides,
} from "@mui/material"
import { OverridableStringUnion } from "@mui/types"
import React from "react"

type LinearProgressProps = {
value: number
Expand Down

0 comments on commit 4077602

Please sign in to comment.