You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think that the initOnMounted option no longer takes effect since they were moved outside of a component. Maybe they should be exposed as functions instead of variables const useDetailsSizes = () => useLocalStorage(...)
I guess we need to split logic for ui and browser ui: right now using mainSizes on UI when we should use detailSizes (in the new UI there is no details, the middle panel has been removed)
EDIT: we'll have some side effect when switching between UI and Browser UI: mainSizes and detailSizes for Browser UI and we should add a new sizes for UI /cc @sheremet-va
Describe the bug
It seems that there was a regression of #5166
vitest --ui
I think that the
initOnMounted
option no longer takes effect since they were moved outside of a component. Maybe they should be exposed as functions instead of variablesconst useDetailsSizes = () => useLocalStorage(...)
Reproduction
https://stackblitz.com/edit/vitest-dev-vitest-enxjhj?file=README.md&initialPath=__vitest__/
(default repro, might have outdated deps but I tested locally too)
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: