mirror of
https://github.com/sourcebot-dev/sourcebot.git
synced 2025-12-13 04:45:19 +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);
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="flex flex-col h-screen w-screen">
|
||||
<TopBar
|
||||
domain={params.domain}
|
||||
homePath={`/${params.domain}/chat`}
|
||||
|
|
@ -87,6 +87,6 @@ export default async function Page(props: PageProps) {
|
|||
isChatReadonly={isReadonly}
|
||||
/>
|
||||
</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.
|
||||
// @see: https://ai-sdk.dev/docs/ai-sdk-ui/chatbot-message-persistence#resuming-ongoing-streams
|
||||
<NavigationGuardProvider>
|
||||
<div className="flex flex-col h-screen w-screen">
|
||||
{children}
|
||||
</div>
|
||||
{children}
|
||||
<TutorialDialog isOpen={!isTutorialDismissed} />
|
||||
</NavigationGuardProvider>
|
||||
)
|
||||
|
|
|
|||
Loading…
Reference in a new issue