mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-17 06:45:25 +00:00
fix ask homepage scrolling bug
This commit is contained in:
parent
79da94e5d8
commit
01d18694ba
2 changed files with 3 additions and 5 deletions
|
|
@ -53,7 +53,7 @@ export default async function Page(props: PageProps) {
|
||||||
const indexedRepos = repos.filter((repo) => repo.indexedAt !== undefined);
|
const indexedRepos = repos.filter((repo) => repo.indexedAt !== undefined);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<div className="flex flex-col h-screen w-screen">
|
||||||
<TopBar
|
<TopBar
|
||||||
domain={params.domain}
|
domain={params.domain}
|
||||||
homePath={`/${params.domain}/chat`}
|
homePath={`/${params.domain}/chat`}
|
||||||
|
|
@ -87,6 +87,6 @@ export default async function Page(props: PageProps) {
|
||||||
isChatReadonly={isReadonly}
|
isChatReadonly={isReadonly}
|
||||||
/>
|
/>
|
||||||
</ResizablePanelGroup>
|
</ResizablePanelGroup>
|
||||||
</>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
@ -14,9 +14,7 @@ export default async function Layout({ children }: LayoutProps) {
|
||||||
// @note: we use a navigation guard here since we don't support resuming streams yet.
|
// @note: we use a navigation guard here since we don't support resuming streams yet.
|
||||||
// @see: https://ai-sdk.dev/docs/ai-sdk-ui/chatbot-message-persistence#resuming-ongoing-streams
|
// @see: https://ai-sdk.dev/docs/ai-sdk-ui/chatbot-message-persistence#resuming-ongoing-streams
|
||||||
<NavigationGuardProvider>
|
<NavigationGuardProvider>
|
||||||
<div className="flex flex-col h-screen w-screen">
|
{children}
|
||||||
{children}
|
|
||||||
</div>
|
|
||||||
<TutorialDialog isOpen={!isTutorialDismissed} />
|
<TutorialDialog isOpen={!isTutorialDismissed} />
|
||||||
</NavigationGuardProvider>
|
</NavigationGuardProvider>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue