quivr/frontend/app/brains-management/[brainId]/hooks/useBrainManagement.ts

11 lines
248 B
TypeScript

import { useUrlBrain } from "@/lib/hooks/useBrainIdFromUrl";
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
export const useBrainManagement = () => {
const { brain } = useUrlBrain();
return {
brain,
};
};