Skip to content

Commit

Permalink
🏷️ Used new import type
Browse files Browse the repository at this point in the history
Used new import type {...} instead of import {type ...}
  • Loading branch information
srivarra committed Jul 19, 2024
1 parent ccfe60b commit 109dc9a
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion ghpages-site/src/components/ui/badge.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import * as React from "react";
import type * as React from "react";
import { cva, type VariantProps } from "class-variance-authority";

import { cn } from "@/lib/utils";
Expand Down
2 changes: 1 addition & 1 deletion ghpages-site/src/components/ui/command.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from "react";
import { type DialogProps } from "@radix-ui/react-dialog";
import type { DialogProps } from "@radix-ui/react-dialog";
import { MagnifyingGlassIcon } from "@radix-ui/react-icons";
import { Command as CommandPrimitive } from "cmdk";

Expand Down
2 changes: 1 addition & 1 deletion ghpages-site/src/components/vitessce/configs/tonic.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function generateTonicConfig(fov: string) {
const config = new VitessceConfig({
schemaVersion: "1.0.16",
name: fov,
description: "Example",
description: fov,
});
const fov_path = `https://angelolab-vitessce-vizualizations.s3.amazonaws.com/tonic/${fov.toUpperCase()}`;

Expand Down
2 changes: 1 addition & 1 deletion ghpages-site/src/lib/table/data-table-column-header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
CaretSortIcon,
EyeNoneIcon,
} from "@radix-ui/react-icons";
import { type Column } from "@tanstack/react-table";
import type { Column } from "@tanstack/react-table";

import { cn } from "@/lib/utils";
import { Button } from "@ui/button";
Expand Down
4 changes: 2 additions & 2 deletions ghpages-site/src/lib/table/data-table-faceted-filter.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import * as React from "react";
import type * as React from "react";
import { CheckIcon, PlusCircledIcon } from "@radix-ui/react-icons";
import { type Column } from "@tanstack/react-table";
import type { Column } from "@tanstack/react-table";

import { cn } from "@/lib/utils";
import { Badge } from "@/components/ui/badge";
Expand Down
2 changes: 1 addition & 1 deletion ghpages-site/src/lib/table/data-table-pagination.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
DoubleArrowLeftIcon,
DoubleArrowRightIcon,
} from "@radix-ui/react-icons";
import { type Table } from "@tanstack/react-table";
import type { Table } from "@tanstack/react-table";

import { Button } from "@/components/ui/button";
import {
Expand Down
2 changes: 1 addition & 1 deletion ghpages-site/src/lib/table/data-table-view-options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import { DropdownMenuTrigger } from "@radix-ui/react-dropdown-menu";
import { MixerHorizontalIcon } from "@radix-ui/react-icons";
import { type Table } from "@tanstack/react-table";
import type { Table } from "@tanstack/react-table";

import { Button } from "@/components/ui/button";
import {
Expand Down

0 comments on commit 109dc9a

Please sign in to comment.