File tree Expand file tree Collapse file tree 4 files changed +9
-16
lines changed
components/widgets/ThemeComponent Expand file tree Collapse file tree 4 files changed +9
-16
lines changed Original file line number Diff line number Diff line change 1- import { Textarea , TextareaProps } from "@components/ui/textarea" ;
1+ import type { TextareaProps } from "@components/ui/textarea" ;
2+ import { Textarea } from "@components/ui/textarea" ;
23import { Label } from "@components/ui/label" ;
34
45export const ThemeTextarea : React . FC <
Original file line number Diff line number Diff line change @@ -4,13 +4,13 @@ import type { RadioProps } from "@components/universal/Radio";
44import { Radio } from "@components/universal/Radio" ;
55import type { ColorProps } from "@components/universal/Color" ;
66import { Color } from "@components/universal/Color" ;
7- import { ModalBody } from "@components/universal/Modal" ;
87import type { SelectProps } from "./ThemeSelect" ;
98import { 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" ;
1212import { Checkbox } from "@components/ui/checkbox" ;
13- import { CheckboxProps } from "@radix-ui/react-checkbox" ;
13+ import type { CheckboxProps } from "@radix-ui/react-checkbox" ;
1414import { ThemeTextarea } from "./ThemeTextarea" ;
1515import { Label } from "@components/ui/label" ;
1616
Original file line number Diff line number Diff line change @@ -4,7 +4,6 @@ import { useEffect, useState } from "react";
44import { useNavigate } from "react-router-dom" ;
55import { useSnapshot } from "valtio" ;
66import { Loading } from "@components/universal/Loading" ;
7- import { Modal } from "@components/universal/Modal" ;
87import { Title } from "@components/universal/Title" ;
98import { server } from "@states/app" ;
109import type { BasicPage } from "@type/basic" ;
@@ -14,7 +13,6 @@ import { useSeo } from "@hooks/useSeo";
1413import { toast } from "sonner" ;
1514import useSWR from "swr" ;
1615import { ActionButton , ActionButtons } from "@components/widgets/ActionButtons" ;
17- import { jump } from "@utils/path" ;
1816import {
1917 Dialog ,
2018 DialogContent ,
Original file line number Diff line number Diff line change 1- import postStyles from "@pages/Posts/Index/index.module.css" ;
2- import styles from "./index.module.css" ;
31import { Modal , ModalBody } from "@components/universal/Modal" ;
4- import {
5- TableContainer ,
6- TableItem ,
7- TableItemValue ,
8- } from "@pages/Home/universal" ;
2+
3+
94import { Input } from "@components/ui/input" ;
105import { Textarea } from "@components/ui/textarea" ;
116import { apiClient } from "@utils/request" ;
12- import clsx from "clsx" ;
13- import { useCallback , useEffect , useMemo , useState } from "react" ;
7+ import { useEffect , useState } from "react" ;
148import useSWR from "swr" ;
159import useSWRMutation from "swr/mutation" ;
1610import { Select } from "@components/widgets/ThemeComponent/ThemeSelect" ;
You can’t perform that action at this time.
0 commit comments