Skip to content

Commit

Permalink
feat: Intents target must be migrate too
Browse files Browse the repository at this point in the history
Forgot to migrate to React 18
cf #682
  • Loading branch information
Merkur39 committed Nov 5, 2024
1 parent 2a151ee commit dbe5a53
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/targets/intents/index.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
/* eslint-disable import/order */
import React from 'react'
import { render } from 'react-dom'
import {
RouterProvider,
createHashRouter,
Expand Down Expand Up @@ -74,5 +73,5 @@ document.addEventListener('DOMContentLoaded', () => {
const intentId = new URLSearchParams(window.location.search).get('intent')
const router = createHashRouter(makeRoutes({ client, intentId, ...rest }))

render(<RouterProvider router={router} />, root)
root.render(<RouterProvider router={router} />)
})

0 comments on commit dbe5a53

Please sign in to comment.