mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-03 03:23:25 +00:00
refactor: Standardize hook file names (#136)
* refactor: Standadize hook file names * cr
This commit is contained in:
parent
8ea2540032
commit
0709d9fe98
8 changed files with 6 additions and 6 deletions
|
|
@ -13,7 +13,7 @@ import {
|
||||||
SelectValue,
|
SelectValue,
|
||||||
} from "@/components/ui/select";
|
} from "@/components/ui/select";
|
||||||
import { Label } from "@/components/ui/label";
|
import { Label } from "@/components/ui/label";
|
||||||
import { DEFAULT_CONFIG_KEY, useConfigStore } from "@/hooks/use-config-store";
|
import { DEFAULT_CONFIG_KEY, useConfigStore } from "@/hooks/useConfigStore";
|
||||||
import { AlertCircle } from "lucide-react";
|
import { AlertCircle } from "lucide-react";
|
||||||
import { Alert, AlertDescription } from "@/components/ui/alert";
|
import { Alert, AlertDescription } from "@/components/ui/alert";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ import { forwardRef, ForwardedRef, useState, useEffect } from "react";
|
||||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
||||||
import { ConfigField } from "@/components/configuration-sidebar/config-field";
|
import { ConfigField } from "@/components/configuration-sidebar/config-field";
|
||||||
import { ConfigSection } from "@/components/configuration-sidebar/config-section";
|
import { ConfigSection } from "@/components/configuration-sidebar/config-section";
|
||||||
import { useConfigStore, DEFAULT_CONFIG_KEY } from "@/hooks/use-config-store";
|
import { useConfigStore, DEFAULT_CONFIG_KEY } from "@/hooks/useConfigStore";
|
||||||
import { ScrollArea } from "@/components/ui/scroll-area";
|
import { ScrollArea } from "@/components/ui/scroll-area";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import { Skeleton } from "@/components/ui/skeleton";
|
import { Skeleton } from "@/components/ui/skeleton";
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import { ThreadIdCopyable } from "./thread-id";
|
import { ThreadIdCopyable } from "./thread-id";
|
||||||
import { InboxItemInput } from "./inbox-item-input";
|
import { InboxItemInput } from "./inbox-item-input";
|
||||||
import useInterruptedActions from "../hooks/use-interrupted-actions";
|
import useInterruptedActions from "../hooks/useInterruptedActions";
|
||||||
import { cn } from "@/lib/utils";
|
import { cn } from "@/lib/utils";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
import { useQueryState } from "nuqs";
|
import { useQueryState } from "nuqs";
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,7 @@ import TaskListSidebar from "../task-list-sidebar";
|
||||||
import { toast } from "sonner";
|
import { toast } from "sonner";
|
||||||
import { useMediaQuery } from "@/hooks/useMediaQuery";
|
import { useMediaQuery } from "@/hooks/useMediaQuery";
|
||||||
import { Label } from "../ui/label";
|
import { Label } from "../ui/label";
|
||||||
import { useFileUpload } from "@/hooks/use-file-upload";
|
import { useFileUpload } from "@/hooks/useFileUpload";
|
||||||
import { ContentBlocksPreview } from "./ContentBlocksPreview";
|
import { ContentBlocksPreview } from "./ContentBlocksPreview";
|
||||||
import {
|
import {
|
||||||
useArtifactOpen,
|
useArtifactOpen,
|
||||||
|
|
@ -42,7 +42,7 @@ import { GitHubOAuthButton } from "../github/github-oauth-button";
|
||||||
import { useGitHubAppProvider } from "@/providers/GitHubApp";
|
import { useGitHubAppProvider } from "@/providers/GitHubApp";
|
||||||
import TaskList from "../task-list";
|
import TaskList from "../task-list";
|
||||||
import { ConfigurationSidebar } from "../configuration-sidebar";
|
import { ConfigurationSidebar } from "../configuration-sidebar";
|
||||||
import { DEFAULT_CONFIG_KEY, useConfigStore } from "@/hooks/use-config-store";
|
import { DEFAULT_CONFIG_KEY, useConfigStore } from "@/hooks/useConfigStore";
|
||||||
import { RepositoryBranchSelectors } from "../github/repo-branch-selectors";
|
import { RepositoryBranchSelectors } from "../github/repo-branch-selectors";
|
||||||
import { useRouter } from "next/navigation";
|
import { useRouter } from "next/navigation";
|
||||||
import {
|
import {
|
||||||
|
|
@ -53,7 +53,7 @@ import {
|
||||||
} from "../ui/tooltip";
|
} from "../ui/tooltip";
|
||||||
import { BaseMessage } from "@langchain/core/messages";
|
import { BaseMessage } from "@langchain/core/messages";
|
||||||
import { TaskPlanView } from "../tasks";
|
import { TaskPlanView } from "../tasks";
|
||||||
import { useTaskPlan } from "../tasks/use-task-plan";
|
import { useTaskPlan } from "../tasks/useTaskPlan";
|
||||||
|
|
||||||
function StickyToBottomContent(props: {
|
function StickyToBottomContent(props: {
|
||||||
content: ReactNode;
|
content: ReactNode;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue