fix: clear query params on web only, desktop not required

This commit is contained in:
Kevin Nadro
2025-04-22 16:43:41 -05:00
parent 6cb90195bf
commit f2ef6e968b
2 changed files with 3 additions and 1 deletions

View File

@ -147,7 +147,8 @@ export function SystemIOMachineLogicListenerDesktop() {
useApplicationProjectDirectory()
useDefaultProjectName()
useWatchingApplicationProjectDirectory()
useClearQueryParams()
// Gotcha: not required on desktop right now.
/* useClearQueryParams() */
return null
}

View File

@ -410,6 +410,7 @@ export const systemIOMachine = setup({
}
},
}),
assign({ clearURLParams:{value:true}})
],
},
onError: {