clenup import paths
This commit is contained in:
@@ -1,10 +1,9 @@
|
||||
import type React from "react";
|
||||
|
||||
import type { Group } from "@components/CommandPalette/Index.js";
|
||||
import { Combobox } from "@headlessui/react";
|
||||
import { ChevronRightIcon } from "@heroicons/react/24/outline";
|
||||
|
||||
import type { Group } from "./Index.js";
|
||||
|
||||
export interface GroupViewProps {
|
||||
group: Group;
|
||||
}
|
||||
|
||||
@@ -18,6 +18,11 @@ import { toast } from "react-hot-toast";
|
||||
|
||||
import { useDevice } from "@app/core/providers/useDevice.js";
|
||||
import { useAppStore } from "@app/core/stores/appStore.js";
|
||||
import { GroupView } from "@components/CommandPalette/GroupView.js";
|
||||
import { NoResults } from "@components/CommandPalette/NoResults.js";
|
||||
import { PaletteTransition } from "@components/CommandPalette/PaletteTransition.js";
|
||||
import { SearchBox } from "@components/CommandPalette/SearchBox.js";
|
||||
import { SearchResult } from "@components/CommandPalette/SearchResult.js";
|
||||
import { Combobox, Dialog, Transition } from "@headlessui/react";
|
||||
import {
|
||||
ArchiveBoxXMarkIcon,
|
||||
@@ -43,12 +48,6 @@ import {
|
||||
XCircleIcon
|
||||
} from "@heroicons/react/24/outline";
|
||||
|
||||
import { GroupView } from "./GroupView.js";
|
||||
import { NoResults } from "./NoResults.js";
|
||||
import { PaletteTransition } from "./PaletteTransition.js";
|
||||
import { SearchBox } from "./SearchBox.js";
|
||||
import { SearchResult } from "./SearchResult.js";
|
||||
|
||||
export interface Group {
|
||||
name: string;
|
||||
icon: (props: React.ComponentProps<"svg">) => JSX.Element;
|
||||
|
||||
@@ -1,9 +1,8 @@
|
||||
import type React from "react";
|
||||
|
||||
import { Mono } from "@components/generic/Mono.js";
|
||||
import { CommandLineIcon } from "@heroicons/react/24/outline";
|
||||
|
||||
import { Mono } from "../Mono.js";
|
||||
|
||||
export const NoResults = (): JSX.Element => {
|
||||
return (
|
||||
<div className="py-14 px-14 text-center">
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
import type React from "react";
|
||||
|
||||
import type { Group } from "@components/CommandPalette/Index.js";
|
||||
import { Combobox } from "@headlessui/react";
|
||||
import { ChevronRightIcon } from "@heroicons/react/24/outline";
|
||||
|
||||
import type { Group } from "./Index.js";
|
||||
|
||||
export interface SearchResultProps {
|
||||
group: Group;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user