Skip to content

Commit

Permalink
don't check for hydrationComplete
Browse files Browse the repository at this point in the history
  • Loading branch information
mslourens committed Jan 17, 2022
1 parent 81218cb commit f3bdedd
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
let previousType
let previousAsset
let previousComponentId
let hydrationComplete = false
// Manage the layout modal flow from here
let showModal
Expand All @@ -41,12 +40,6 @@
)
const hydrateStateFromURL = (params, leftover) => {
if (hydrationComplete) {
return
} else {
hydrationComplete = true
}
// Do nothing if no asset type, as that means we've left the page
if (!params.assetType) {
return
Expand Down

0 comments on commit f3bdedd

Please sign in to comment.