Skip to content

Commit 4054a14

Browse files
remove extra redirect
Co-authored-by: April Sylph <28949509+AprilSylph@users.noreply.github.com>
1 parent 18b869f commit 4054a14

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/features/postblock/index.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,6 @@ export const main = async function () {
131131
const blockedPostID = location.hash.match(/(?<=^#postblock:)\d{1,20}$/)?.[0];
132132

133133
if (blockedPostID) {
134-
// remove search param now, so it doesn't persist if after we successfully
135-
// navigate, the user presses the blog view back button once
136-
navigate(location.pathname);
137-
138134
navigate(`./${blockedPostID}`);
139135
}
140136
};

0 commit comments

Comments
 (0)