diff --git a/frontend/app/brains-management/[brainId]/components/BrainListItem/BrainListItem.tsx b/frontend/app/brains-management/[brainId]/components/BrainListItem/BrainListItem.tsx
index d1e258f35..77cda2eea 100644
--- a/frontend/app/brains-management/[brainId]/components/BrainListItem/BrainListItem.tsx
+++ b/frontend/app/brains-management/[brainId]/components/BrainListItem/BrainListItem.tsx
@@ -6,11 +6,11 @@ import { cn } from "@/lib/utils";
import { useBrainListItem } from "./hooks/useBrainListItem";
-interface ChatsListItemProps {
+interface BrainsListItemProps {
brain: MinimalBrainForUser;
}
-export const BrainListItem = ({ brain }: ChatsListItemProps): JSX.Element => {
+export const BrainListItem = ({ brain }: BrainsListItemProps): JSX.Element => {
const { selected } = useBrainListItem(brain);
return (
@@ -21,7 +21,8 @@ export const BrainListItem = ({ brain }: ChatsListItemProps): JSX.Element => {
? "bg-gray-100 dark:bg-gray-800 text-primary dark:text-white"
: ""
)}
- data-testid="chats-list-item"
+ data-testid="brains
+ -list-item"
>
{
@@ -37,7 +37,7 @@ export const BrainsList = (): JSX.Element => {
: "10px 10px 16px rgba(0, 0, 0, 0.5)",
}}
className={cn("overflow-hidden flex flex-col flex-1")}
- data-testid="chats-list"
+ data-testid="brains-list"
>
{
setSearchQuery={setSearchQuery}
/>
{brains.map((brain) => (
@@ -62,7 +62,7 @@ export const BrainsList = (): JSX.Element => {
setOpen(!open);
}}
className="absolute left-full top-16 text-3xl bg-black dark:bg-white text-white dark:text-black rounded-r-full p-3 pl-1"
- data-testid="chats-list-toggle"
+ data-testid="brains-list-toggle"
>
{
return (
-
+
Coming soon
);
diff --git a/frontend/app/brains-management/layout.tsx b/frontend/app/brains-management/layout.tsx
index f3235c3c3..442770c05 100644
--- a/frontend/app/brains-management/layout.tsx
+++ b/frontend/app/brains-management/layout.tsx
@@ -4,7 +4,7 @@ import { ReactNode } from "react";
import { useSupabase } from "@/lib/context/SupabaseProvider";
import { redirectToLogin } from "@/lib/router/redirectToLogin";
-import { BrainsList } from "./[brainId]/components/BrainsList";
+import { BrainsList } from "./[brainId]/components";
interface LayoutProps {
children?: ReactNode;
diff --git a/frontend/lib/components/NavBar/components/NavItems/components/BrainsDropDown/components/index.ts b/frontend/lib/components/NavBar/components/NavItems/components/BrainsDropDown/components/index.ts
index 3e93ace07..0d2bbd6be 100644
--- a/frontend/lib/components/NavBar/components/NavItems/components/BrainsDropDown/components/index.ts
+++ b/frontend/lib/components/NavBar/components/NavItems/components/BrainsDropDown/components/index.ts
@@ -1,2 +1,2 @@
-export * from "../../../../../../AddBrainModal";
+export * from "@/lib/components/AddBrainModal";
export * from "./BrainActions";