()
| 25 | const ref = React.useRef<HTMLIFrameElement>(null); |
| 26 | |
| 27 | function renderFormInFrame() { |
| 28 | const rootElement = |
| 29 | ref.current!.contentDocument!.getElementById('inner-root'); |
| 30 | const root = ReactDOM.createRoot(rootElement); |
| 31 | root.render(<FrameForm />); |
| 32 | } |
| 33 | |
| 34 | return ( |
| 35 | <iframe |
nothing calls this directly
no outgoing calls
no test coverage detected