Skip to content

Commit 7adb8a6

Browse files
committed
Merge branch 'main' into fix/legacy-error-message-forwarding
2 parents dac3fce + b573f73 commit 7adb8a6

File tree

4 files changed

+18
-16
lines changed

4 files changed

+18
-16
lines changed

typescript-sdk/apps/dojo/src/app/[integrationId]/feature/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ export default function FeatureLayout({ children, params }: Props) {
5555
}
5656
}, [children, codeFiles, readme, view])
5757

58-
return <div className="bg-white rounded-lg overflow-hidden w-full h-full">{content}</div>;
58+
return <div className="bg-white rounded-lg w-full h-full">{content}</div>;
5959
}

typescript-sdk/apps/dojo/src/app/[integrationId]/feature/predictive_state_updates/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ const DocumentEditor = () => {
244244
}}
245245
/>
246246
),
247-
});
247+
}, [agentState?.document]);
248248

249249
// Action to write the document.
250250
useCopilotAction({
@@ -278,7 +278,7 @@ const DocumentEditor = () => {
278278
}
279279
return <></>;
280280
},
281-
});
281+
}, [agentState?.document]);
282282

283283
return (
284284
<div className="relative min-h-screen w-full">

typescript-sdk/apps/dojo/src/app/[integrationId]/feature/shared_state/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,7 @@ const INITIAL_STATE: RecipeAgentState = {
213213
};
214214

215215
function Recipe() {
216+
const { isMobile } = useMobileView();
216217
const { state: agentState, setState: setAgentState } = useCoAgent<RecipeAgentState>({
217218
name: "shared_state",
218219
initialState: INITIAL_STATE,
@@ -368,6 +369,7 @@ function Recipe() {
368369
return (
369370
<form
370371
data-testid="recipe-card"
372+
style={isMobile ? { marginBottom: "100px" } : {}}
371373
className="recipe-card">
372374
{/* Recipe Title */}
373375
<div className="recipe-header">

0 commit comments

Comments
 (0)