Snapshot notice link not navigating as expected #4194 (#4686)

This commit is contained in:
Nikhil 2022-01-07 11:51:11 -08:00 committed by GitHub
parent e4f134ca59
commit 187da3c462
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -110,7 +110,8 @@ export default class Snapshot {
}
return () => {
window.location.href = window.location.origin + url;
const path = window.location.href.split('#');
window.location.href = path[0] + url;
};
}
}