Skip to content

Commit d6048d8

Browse files
committed
fix: include autoResize option in useApp hook
The React useApp hook was overriding the entire options object when passing experimentalOAICompatibility, causing autoResize to be undefined instead of true. This prevented automatic size notifications from being set up.
1 parent 35dc00a commit d6048d8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/react/useApp.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,7 @@ export function useApp({
137137
try {
138138
const app = new App(appInfo, capabilities, {
139139
experimentalOAICompatibility,
140+
autoResize: true,
140141
});
141142

142143
// Register handlers BEFORE connecting

0 commit comments

Comments
 (0)