New view picker (#4610)
* Implement new view picker * Complete feature * Fixes according to review
This commit is contained in:
@ -52,7 +52,10 @@ export const useViewFromQueryParams = () => {
|
||||
[queryParamsValidation],
|
||||
);
|
||||
const viewIdQueryParam = useMemo(
|
||||
() => queryParamsValidation.success && queryParamsValidation.data.view,
|
||||
() =>
|
||||
queryParamsValidation.success
|
||||
? queryParamsValidation.data.view
|
||||
: undefined,
|
||||
[queryParamsValidation],
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user