chore: generate
This commit is contained in:
@@ -161,8 +161,7 @@ function PromptInputWithOpenDock() {
|
||||
}
|
||||
return (
|
||||
<SessionComposerRegion
|
||||
controller={
|
||||
createSessionComposerRegionController({
|
||||
controller={createSessionComposerRegionController({
|
||||
state,
|
||||
sessionKey: () => "story-session",
|
||||
sessionID: () => "story-session",
|
||||
@@ -179,8 +178,7 @@ function PromptInputWithOpenDock() {
|
||||
openParent: () => {},
|
||||
setPromptRef: () => {},
|
||||
setDockRef: () => {},
|
||||
})
|
||||
}
|
||||
})}
|
||||
promptInput={
|
||||
<PromptInput
|
||||
controls={inputControls}
|
||||
|
||||
@@ -1783,9 +1783,7 @@ export default function Page() {
|
||||
</Switch>
|
||||
</div>
|
||||
|
||||
<Show when={(params.id || !newSessionDesign()) && !mobileChanges()}>
|
||||
{(_) => composerRegion()}
|
||||
</Show>
|
||||
<Show when={(params.id || !newSessionDesign()) && !mobileChanges()}>{(_) => composerRegion()}</Show>
|
||||
<Show when={!!params.id && mobileTabsBottom()}>{mobileTabs(true, true)}</Show>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -135,11 +135,7 @@ export function SessionComposerRegion(props: {
|
||||
</Show>
|
||||
<Show
|
||||
when={controller.child()}
|
||||
fallback={
|
||||
<Show when={!controller.state.blocked()}>
|
||||
{props.promptInput}
|
||||
</Show>
|
||||
}
|
||||
fallback={<Show when={!controller.state.blocked()}>{props.promptInput}</Show>}
|
||||
>
|
||||
<div
|
||||
ref={controller.setPromptRef}
|
||||
|
||||
@@ -286,8 +286,7 @@ export const Playground = {
|
||||
|
||||
<div>
|
||||
<SessionComposerRegion
|
||||
controller={
|
||||
createSessionComposerRegionController({
|
||||
controller={createSessionComposerRegionController({
|
||||
state,
|
||||
sessionKey: () => "story-session",
|
||||
sessionID: () => "story-session",
|
||||
@@ -301,8 +300,7 @@ export const Playground = {
|
||||
openParent: () => {},
|
||||
setPromptRef: () => {},
|
||||
setDockRef: () => {},
|
||||
})
|
||||
}
|
||||
})}
|
||||
promptInput={
|
||||
<PromptInput
|
||||
controls={controls}
|
||||
|
||||
Reference in New Issue
Block a user