Stop Screen Store Double Updating on Screen Change
This commit is contained in:
parent
806ac9b50f
commit
c6fd6699db
|
@ -43,6 +43,7 @@
|
|||
}
|
||||
|
||||
const onRouteLoading = ({ detail }) => {
|
||||
routeStore.actions.setRouteParams(detail.params || {})
|
||||
routeStore.actions.setActiveRoute(detail.route)
|
||||
}
|
||||
|
||||
|
|
|
@ -9,9 +9,6 @@
|
|||
|
||||
const context = getContext("context")
|
||||
|
||||
// Keep route params up to date
|
||||
$: routeStore.actions.setRouteParams(params || {})
|
||||
|
||||
// Get the screen definition for the current route
|
||||
$: screenDefinition = $screenStore.activeScreen?.props
|
||||
|
||||
|
|
Loading…
Reference in New Issue