fixed: folder slug search params is not appearing sometimes

This commit is contained in:
Muhsin Shah 2023-10-18 19:17:56 +05:30
parent 06cc13c865
commit 56085460c4

View file

@ -112,7 +112,7 @@ export const Folders = function Folders({
function updateFolderQuery(name) {
const path = `${name ? `?folder=${name}` : ''}`;
navigate(path);
navigate({ pathname: location.pathname, search: path }, { replace: true });
}
function deleteFolder(folder) {