mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
refactor(store): rename src/store to src/stores
This commit is contained in:
parent
3fefee674b
commit
f43ba10a57
@ -7,8 +7,8 @@ import {
|
|||||||
AccordionTrigger,
|
AccordionTrigger,
|
||||||
} from "@/components/ui/accordion";
|
} from "@/components/ui/accordion";
|
||||||
import { Loading } from "@/components/loading";
|
import { Loading } from "@/components/loading";
|
||||||
import { useAdminSettingsStore } from "@/store/useAdminSettingsStore";
|
|
||||||
import { EditorLanguage, LanguageServerConfig } from "@prisma/client";
|
import { EditorLanguage, LanguageServerConfig } from "@prisma/client";
|
||||||
|
import { useAdminSettingsStore } from "@/stores/useAdminSettingsStore";
|
||||||
import { SettingsLanguageServerForm } from "@/app/(app)/dashboard/@admin/settings/language-server/form";
|
import { SettingsLanguageServerForm } from "@/app/(app)/dashboard/@admin/settings/language-server/form";
|
||||||
|
|
||||||
interface LanguageServerAccordionProps {
|
interface LanguageServerAccordionProps {
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { Settings } from "lucide-react";
|
import { Settings } from "lucide-react";
|
||||||
import { useSettingsStore } from "@/store/useSettingsStore";
|
import { useSettingsStore } from "@/stores/useSettingsStore";
|
||||||
import { DropdownMenuItem } from "@/components/ui/dropdown-menu";
|
import { DropdownMenuItem } from "@/components/ui/dropdown-menu";
|
||||||
|
|
||||||
export function SettingsButton() {
|
export function SettingsButton() {
|
||||||
|
@ -27,7 +27,7 @@ import {
|
|||||||
} from "@/components/ui/breadcrumb";
|
} from "@/components/ui/breadcrumb";
|
||||||
import AppearanceSettings from "./appearance-settings";
|
import AppearanceSettings from "./appearance-settings";
|
||||||
import { ScrollArea } from "@/components/ui/scroll-area";
|
import { ScrollArea } from "@/components/ui/scroll-area";
|
||||||
import { useSettingsStore } from "@/store/useSettingsStore";
|
import { useSettingsStore } from "@/stores/useSettingsStore";
|
||||||
import { CodeXml, Globe, Paintbrush, Settings } from "lucide-react";
|
import { CodeXml, Globe, Paintbrush, Settings } from "lucide-react";
|
||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
|
Loading…
Reference in New Issue
Block a user