Skip to content

Commit

Permalink
refactor: change preview.tsx to .ts for schema?
Browse files Browse the repository at this point in the history
  • Loading branch information
WillieRuemmele committed Dec 2, 2024
1 parent 14a8851 commit 4b92b10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ export default class AgentPreview extends SfCommand<void> {
const { flags } = await this.parse(AgentPreview);
this.log(`previewing ${flags.name}`);

const instance = render(<AgentPreviewReact />);
const instance = render(React.createElement(AgentPreviewReact, null));
await instance.waitUntilExit();
}
}

0 comments on commit 4b92b10

Please sign in to comment.