Skip to content

Commit

Permalink
refactor: fix and organize imports
Browse files Browse the repository at this point in the history
fix: fix imports

refactor: fix and organize imports
  • Loading branch information
mainawycliffe committed Oct 9, 2023
1 parent b10b274 commit 36d7344
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
10 changes: 5 additions & 5 deletions src/components/InfiniteTable/InfiniteTable.tsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
import {
useReactTable,
getCoreRowModel,
getSortedRowModel,
ColumnDef,
Row,
flexRender
flexRender,
getCoreRowModel,
getSortedRowModel,
useReactTable
} from "@tanstack/react-table";
import React, { useCallback, useMemo, useRef } from "react";
import { useVirtualizer } from "@tanstack/react-virtual";
import clsx from "clsx";
import React, { useCallback, useMemo, useRef } from "react";

type InfiniteTableProps<T> = React.HTMLProps<HTMLDivElement> & {
columns: ColumnDef<T, any>[];
Expand Down
2 changes: 1 addition & 1 deletion src/components/Playbooks/Runs/PlaybookRunsSidePanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { ColumnDef } from "@tanstack/react-table";
import { useAtom } from "jotai";
import { useEffect, useMemo, useState } from "react";
import { AiOutlineTeam } from "react-icons/ai";
import { useNavigate } from "react-router-dom";
import { getPlaybookRuns } from "../../../api/services/playbooks";
import { relativeDateTime } from "../../../utils/date";
import PillBadge from "../../Badge/PillBadge";
Expand All @@ -13,7 +14,6 @@ import TextSkeletonLoader from "../../SkeletonLoader/TextSkeletonLoader";
import { refreshButtonClickedTrigger } from "../../SlidingSideBar";
import Title from "../../Title/title";
import { PlaybookSpec } from "../Settings/PlaybookSpecsTable";
import { useNavigate } from "react-router-dom";

type TopologySidePanelProps = {
panelType: "topology";
Expand Down
4 changes: 2 additions & 2 deletions src/components/TopologySidebar/TopologySidebar.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { useCallback, useState } from "react";
import { useParams } from "react-router-dom";
import { Topology } from "../../context/TopologyPageContext";
import { PlaybookRunsSidePanel } from "../Playbooks/Runs/PlaybookRunsSidePanel";
import Configs from "../Sidebars/configs";
import Incidents from "../Sidebars/incidents";
import SlidingSideBar from "../SlidingSideBar";
Expand All @@ -9,8 +11,6 @@ import { ComponentTeams } from "./ComponentTeams";
import TopologyActionBar from "./TopologyActionBar";
import TopologyCost from "./TopologyCost";
import TopologyInsights from "./TopologyInsights";
import { useCallback, useState } from "react";
import { PlaybookRunsSidePanel } from "../Playbooks/Runs/PlaybookRunsSidePanel";

type Props = {
topology?: Topology;
Expand Down

0 comments on commit 36d7344

Please sign in to comment.