Skip to content

Commit

Permalink
chore(prerender types): Remove any type (#11046)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tobbe authored Jul 22, 2024
1 parent bcfecce commit f69087d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/prerender/src/runPrerender.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,11 @@ function insertChunkLoadingScript(
) {
const prerenderRoutes = detectPrerenderRoutes()

const route = prerenderRoutes.find((route: any) => {
const route = prerenderRoutes.find((route) => {
if (!route.routePath) {
return false
}

return matchPath(route.routePath, renderPath).match
})

Expand Down

0 comments on commit f69087d

Please sign in to comment.