added isSmallWidthPath back
This commit is contained in:
parent
dc5975cb3a
commit
1d4a91eb7b
1 changed files with 4 additions and 0 deletions
|
|
@ -55,6 +55,10 @@ export function LayoutWrapper({ children }: { children: React.ReactNode }) {
|
|||
startNewConversation();
|
||||
};
|
||||
|
||||
// List of paths with smaller max-width
|
||||
const smallWidthPaths = ["/settings", "/settings/connector/new"];
|
||||
const isSmallWidthPath = smallWidthPaths.includes(pathname);
|
||||
|
||||
// List of paths that should not show navigation
|
||||
const authPaths = ["/login", "/auth/callback", "/onboarding"];
|
||||
const isAuthPage = authPaths.includes(pathname);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue