Skip to content

Commit e86b801

Browse files
authored
Remix Development Tools hmr issue (#344)
* Added remix development tools to epic stack * fix * update for remix dev tools * update to latest version * version bump * Fix for rdt * fix * fix * fix
1 parent c2ca5f3 commit e86b801

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/root.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import {
2020
useSubmit,
2121
} from '@remix-run/react'
2222
import { withSentry } from '@sentry/remix'
23-
import { lazy, useRef } from 'react'
23+
import { Suspense, lazy, useRef } from 'react'
2424
import { Confetti } from './components/confetti.tsx'
2525
import { GeneralErrorBoundary } from './components/error-boundary.tsx'
2626
import { SearchBar } from './components/search-bar.tsx'
@@ -236,7 +236,7 @@ function App() {
236236
</div>
237237
<Confetti confetti={data.flash?.confetti} />
238238
<Toaster />
239-
{RemixDevTools && <RemixDevTools showRouteBoundaries />}
239+
{RemixDevTools && <Suspense><RemixDevTools showRouteBoundaries /></Suspense>}
240240
</Document>
241241
)
242242
}

0 commit comments

Comments
 (0)