Skip to content

Commit

Permalink
refactor: modified the name of the FAB component into HelperFab
Browse files Browse the repository at this point in the history
  • Loading branch information
SchadenKai committed Sep 17, 2024
1 parent 561f4cc commit 395e903
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions web/src/app/chat/ChatPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ import { ChatSidebar } from "./sessionSidebar/ChatSidebar";
import { Skeleton } from "@/components/ui/skeleton";
import { useToast } from "@/hooks/use-toast";
import { CustomTooltip } from "@/components/CustomTooltip";
import { FAB } from "@/components/FAB";
import { HelperFab } from "@/components/HelperFab";

const TEMP_USER_MESSAGE_ID = -1;
const TEMP_ASSISTANT_MESSAGE_ID = -2;
Expand Down Expand Up @@ -1161,7 +1161,7 @@ export function ChatPage({
>
{/* <input {...getInputProps()} /> */}

<FAB />
<HelperFab />

{liveAssistant && (
<div className="relative z-top-bar shrink-0">
Expand Down
4 changes: 2 additions & 2 deletions web/src/app/search/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { NoCompleteSourcesModal } from "@/components/initialSetup/search/NoCompl
import { ChatPopup } from "../chat/ChatPopup";
import { SearchSidebar } from "./SearchSidebar";
import { BarLayout } from "@/components/BarLayout";
import { FAB } from "@/components/FAB";
import { HelperFab } from "@/components/HelperFab";

export default async function Home() {
// Disable caching so we always get the up to date connector / document set / assistant info
Expand Down Expand Up @@ -176,7 +176,7 @@ export default async function Home() {
/>
</div>
</div>
<FAB />
<HelperFab />
</div>
);
}
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from "lucide-react";
import Link from "next/link";

export function FAB() {
export function HelperFab() {
return (
<Popover>
<PopoverTrigger
Expand Down

0 comments on commit 395e903

Please sign in to comment.