Merge pull request #619 from ente-io/fix-dedupe-screen-back

fix back on dedupe screen
This commit is contained in:
Neeraj Gupta 2022-06-26 18:14:29 +05:30 committed by GitHub
commit 81e35edfca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -52,7 +52,7 @@ export default function Deduplicate() {
collectionID: 0, collectionID: 0,
}); });
const closeDeduplication = function () { const closeDeduplication = function () {
Router.back(); Router.push(PAGES.GALLERY);
}; };
useEffect(() => { useEffect(() => {
const key = getKey(SESSION_KEYS.ENCRYPTION_KEY); const key = getKey(SESSION_KEYS.ENCRYPTION_KEY);