diff --git a/src/targets/intents/index.jsx b/src/targets/intents/index.jsx index b1a26fd6..6699b0a6 100644 --- a/src/targets/intents/index.jsx +++ b/src/targets/intents/index.jsx @@ -1,6 +1,5 @@ /* eslint-disable import/order */ import React from 'react' -import { render } from 'react-dom' import { RouterProvider, createHashRouter, @@ -74,5 +73,5 @@ document.addEventListener('DOMContentLoaded', () => { const intentId = new URLSearchParams(window.location.search).get('intent') const router = createHashRouter(makeRoutes({ client, intentId, ...rest })) - render(, root) + root.render() })