diff --git a/components/edit/configure.tsx b/components/edit/configure.tsx index e945d04d..9949fbaa 100644 --- a/components/edit/configure.tsx +++ b/components/edit/configure.tsx @@ -15,9 +15,11 @@ import { Tooltip, Accordion, AccordionItem, + Button, } from '@nextui-org/react'; import { PiToolboxBold } from 'react-icons/pi'; import AssistantNotFound from '@/components/assistant-not-found'; +import { useRouter } from 'next/navigation'; interface ConfigureProps { collapsed?: boolean; @@ -25,6 +27,7 @@ interface ConfigureProps { } const Configure: React.FC = ({ collapsed }) => { + const router = useRouter(); const { root, setRoot, @@ -178,6 +181,16 @@ const Configure: React.FC = ({ collapsed }) => { +
+ +
); };