File tree Expand file tree Collapse file tree
apps/sim/app/o/[organizationId]/home Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,7 +16,6 @@ import {
1616 getMothershipAttachmentUrl ,
1717} from '@/lib/mothership/chat/attachment-preview'
1818import { createSearchResource } from '@/lib/mothership/resources/search'
19- import { SearchLandingHistory } from '@/app/o/[organizationId]/components/search-landing-history'
2019import { Composer } from '@/app/o/[organizationId]/home/components/composer'
2120import { GetStarted } from '@/app/o/[organizationId]/home/components/get-started'
2221import { organizationHomeParsers } from '@/app/o/[organizationId]/home/search-params'
@@ -408,18 +407,9 @@ function OrganizationHomeContent({
408407 : `What should we get done${ firstName ? `, ${ firstName } ` : '' } ?` }
409408 </ h1 >
410409 < div className = 'relative w-full max-w-chat' >
411- { requestMode === 'assistant' && searchAccess . memberScoped && userId ? (
412- < SearchLandingHistory
413- organizationId = { organization . id }
414- userId = { userId }
415- onSearch = { ( query ) => submit ( query ) }
416- >
417- { composer }
418- </ SearchLandingHistory >
419- ) : (
420- composer
421- ) }
422- < div className = { requestMode === 'agent' ? 'absolute inset-x-0 top-full' : 'mt-4' } >
410+ { composer }
411+ { /* Anchored out of flow so expanding/collapsing never shifts the centered input */ }
412+ < div className = 'absolute inset-x-0 top-full' >
423413 { requestMode === 'agent' ? (
424414 < SuggestedActions
425415 organizationId = { organization . id }
You can’t perform that action at this time.
0 commit comments