import React from 'https://cdn.jsdelivr.net/npm/react@18.2.0/+esm'
import reactDom from 'https://cdn.jsdelivr.net/npm/react-dom@18.2.0/+esm'
import typebotIojs from 'https://cdn.jsdelivr.net/npm/@typebot.io/js@0.3/+esm'
import typebotIoreact from 'https://cdn.jsdelivr.net/npm/@typebot.io/react@0.3/+esm'
import { Standard } from 'https://cdn.jsdelivr.net/npm/@typebot.io/react@0.3/+esm';
function App() {
const patiend_id = appsmith.model.data;
return (
<Standard typebot="service-bot" style={{ width: "100%", height: "600px" }} />
);
}
appsmith.onReady(() => {
reactDom.render(<App />, document.getElementById("root"));
});
Uncaught TypeError: Cannot read properties of null (reading 'useRef')