Clean up old stuff & fix ui errors
This commit is contained in:
@@ -5,7 +5,9 @@ import { usePathname } from 'next/navigation';
|
||||
|
||||
export const AppShell = ({ children }: { children: ReactNode }) => {
|
||||
const pathname = usePathname();
|
||||
const isWorkspace = /\/spoons\/[^/]+\/agent\/[^/]+/.test(pathname);
|
||||
const isWorkspace =
|
||||
/\/spoons\/[^/]+\/agent\/[^/]+/.test(pathname) ||
|
||||
/^\/threads\/[^/]+/.test(pathname);
|
||||
|
||||
return (
|
||||
<div className='bg-muted/20 flex-1 border-t'>
|
||||
|
||||
Reference in New Issue
Block a user