Skip to content

Commit

Permalink
style: lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wibus-wee committed Oct 29, 2024
1 parent 508ff51 commit ccc4963
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 16 deletions.
3 changes: 2 additions & 1 deletion src/components/widgets/ThemeComponent/ThemeTextarea.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Textarea, TextareaProps } from "@components/ui/textarea";
import type { TextareaProps } from "@components/ui/textarea";
import { Textarea } from "@components/ui/textarea";
import { Label } from "@components/ui/label";

export const ThemeTextarea: React.FC<
Expand Down
8 changes: 4 additions & 4 deletions src/components/widgets/ThemeComponent/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import type { RadioProps } from "@components/universal/Radio";
import { Radio } from "@components/universal/Radio";
import type { ColorProps } from "@components/universal/Color";
import { Color } from "@components/universal/Color";
import { ModalBody } from "@components/universal/Modal";
import type { SelectProps } from "./ThemeSelect";
import { Select } from "./ThemeSelect";
import { Input, InputProps } from "@components/ui/input";
import { TextareaProps } from "@components/ui/textarea";
import type { InputProps } from "@components/ui/input";
import { Input } from "@components/ui/input";
import type { TextareaProps } from "@components/ui/textarea";
import { Checkbox } from "@components/ui/checkbox";
import { CheckboxProps } from "@radix-ui/react-checkbox";
import type { CheckboxProps } from "@radix-ui/react-checkbox";
import { ThemeTextarea } from "./ThemeTextarea";
import { Label } from "@components/ui/label";

Expand Down
2 changes: 0 additions & 2 deletions src/pages/Categories/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { useEffect, useState } from "react";
import { useNavigate } from "react-router-dom";
import { useSnapshot } from "valtio";
import { Loading } from "@components/universal/Loading";
import { Modal } from "@components/universal/Modal";
import { Title } from "@components/universal/Title";
import { server } from "@states/app";
import type { BasicPage } from "@type/basic";
Expand All @@ -14,7 +13,6 @@ import { useSeo } from "@hooks/useSeo";
import { toast } from "sonner";
import useSWR from "swr";
import { ActionButton, ActionButtons } from "@components/widgets/ActionButtons";
import { jump } from "@utils/path";
import {
Dialog,
DialogContent,
Expand Down
12 changes: 3 additions & 9 deletions src/pages/Comments/component.tsx
Original file line number Diff line number Diff line change
@@ -1,16 +1,10 @@
import postStyles from "@pages/Posts/Index/index.module.css";
import styles from "./index.module.css";
import { Modal, ModalBody } from "@components/universal/Modal";
import {
TableContainer,
TableItem,
TableItemValue,
} from "@pages/Home/universal";


import { Input } from "@components/ui/input";
import { Textarea } from "@components/ui/textarea";
import { apiClient } from "@utils/request";
import clsx from "clsx";
import { useCallback, useEffect, useMemo, useState } from "react";
import { useEffect, useState } from "react";
import useSWR from "swr";
import useSWRMutation from "swr/mutation";
import { Select } from "@components/widgets/ThemeComponent/ThemeSelect";
Expand Down

0 comments on commit ccc4963

Please sign in to comment.