Skip to content

Commit ccc4963

Browse files
committed
style: lint fix
1 parent 508ff51 commit ccc4963

File tree

4 files changed

+9
-16
lines changed

4 files changed

+9
-16
lines changed

src/components/widgets/ThemeComponent/ThemeTextarea.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import { Textarea, TextareaProps } from "@components/ui/textarea";
1+
import type { TextareaProps } from "@components/ui/textarea";
2+
import { Textarea } from "@components/ui/textarea";
23
import { Label } from "@components/ui/label";
34

45
export const ThemeTextarea: React.FC<

src/components/widgets/ThemeComponent/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ import type { RadioProps } from "@components/universal/Radio";
44
import { Radio } from "@components/universal/Radio";
55
import type { ColorProps } from "@components/universal/Color";
66
import { Color } from "@components/universal/Color";
7-
import { ModalBody } from "@components/universal/Modal";
87
import type { SelectProps } from "./ThemeSelect";
98
import { Select } from "./ThemeSelect";
10-
import { Input, InputProps } from "@components/ui/input";
11-
import { TextareaProps } from "@components/ui/textarea";
9+
import type { InputProps } from "@components/ui/input";
10+
import { Input } from "@components/ui/input";
11+
import type { TextareaProps } from "@components/ui/textarea";
1212
import { Checkbox } from "@components/ui/checkbox";
13-
import { CheckboxProps } from "@radix-ui/react-checkbox";
13+
import type { CheckboxProps } from "@radix-ui/react-checkbox";
1414
import { ThemeTextarea } from "./ThemeTextarea";
1515
import { Label } from "@components/ui/label";
1616

src/pages/Categories/index.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ import { useEffect, useState } from "react";
44
import { useNavigate } from "react-router-dom";
55
import { useSnapshot } from "valtio";
66
import { Loading } from "@components/universal/Loading";
7-
import { Modal } from "@components/universal/Modal";
87
import { Title } from "@components/universal/Title";
98
import { server } from "@states/app";
109
import type { BasicPage } from "@type/basic";
@@ -14,7 +13,6 @@ import { useSeo } from "@hooks/useSeo";
1413
import { toast } from "sonner";
1514
import useSWR from "swr";
1615
import { ActionButton, ActionButtons } from "@components/widgets/ActionButtons";
17-
import { jump } from "@utils/path";
1816
import {
1917
Dialog,
2018
DialogContent,

src/pages/Comments/component.tsx

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,10 @@
1-
import postStyles from "@pages/Posts/Index/index.module.css";
2-
import styles from "./index.module.css";
31
import { Modal, ModalBody } from "@components/universal/Modal";
4-
import {
5-
TableContainer,
6-
TableItem,
7-
TableItemValue,
8-
} from "@pages/Home/universal";
2+
3+
94
import { Input } from "@components/ui/input";
105
import { Textarea } from "@components/ui/textarea";
116
import { apiClient } from "@utils/request";
12-
import clsx from "clsx";
13-
import { useCallback, useEffect, useMemo, useState } from "react";
7+
import { useEffect, useState } from "react";
148
import useSWR from "swr";
159
import useSWRMutation from "swr/mutation";
1610
import { Select } from "@components/widgets/ThemeComponent/ThemeSelect";

0 commit comments

Comments
 (0)