mirror of
https://github.com/StanGirard/quivr.git
synced 2024-08-17 09:00:33 +03:00
feat(BrainManagement): add new brain button
This commit is contained in:
parent
de1a5f242c
commit
2651c1bd0b
@ -2,6 +2,7 @@
|
||||
import { motion, MotionConfig } from "framer-motion";
|
||||
import { MdChevronRight } from "react-icons/md";
|
||||
|
||||
import { AddBrainModal } from "@/lib/components/AddBrainModal";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
import { BrainListItem } from "./BrainListItem/BrainListItem";
|
||||
@ -51,6 +52,9 @@ export const BrainsList = (): JSX.Element => {
|
||||
<BrainListItem brain={brain} key={brain.id} />
|
||||
))}
|
||||
</div>
|
||||
<div className="m-2 mb flex flex-col">
|
||||
<AddBrainModal />
|
||||
</div>
|
||||
</div>
|
||||
</motion.div>
|
||||
<button
|
||||
|
@ -6,8 +6,8 @@ import Field from "@/lib/components/ui/Field";
|
||||
import Popover from "@/lib/components/ui/Popover";
|
||||
import { useBrainContext } from "@/lib/context/BrainProvider/hooks/useBrainContext";
|
||||
|
||||
import { AddBrainModal } from "./components/AddBrainModal";
|
||||
import { BrainActions } from "./components/BrainActions/BrainActions";
|
||||
import { AddBrainModal } from "../../../../../AddBrainModal";
|
||||
|
||||
export const BrainsDropDown = (): JSX.Element => {
|
||||
const [searchQuery, setSearchQuery] = useState("");
|
||||
|
@ -1,2 +1,2 @@
|
||||
export * from "./AddBrainModal";
|
||||
export * from "../../../../../../AddBrainModal";
|
||||
export * from "./BrainActions";
|
||||
|
Loading…
Reference in New Issue
Block a user