Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
zth committed Jun 27, 2024
1 parent 3c87155 commit f96f444
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions packages/rescript-relay-router/src/RelayRouter.res
Original file line number Diff line number Diff line change
Expand Up @@ -160,12 +160,14 @@ module Router = {
~pathParams=match.params,
~queryParams,
~location,
)->Js.Promise.then_(
assetsToPreload => {
assetsToPreload->Belt.Array.forEach(a => a->preloadAsset(~priority))
Js.Promise.resolve()
},
_,
)->(
Js.Promise.then_(
assetsToPreload => {
assetsToPreload->Belt.Array.forEach(a => a->preloadAsset(~priority))
Js.Promise.resolve()
},
_,
)
)
}, ~priority)
})
Expand Down

0 comments on commit f96f444

Please sign in to comment.