We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d3dc454 commit 44399a9Copy full SHA for 44399a9
1 file changed
src/app/screens/Feed/components/FeedNavigationControls.tsx
@@ -20,7 +20,8 @@ export default function FeedNavigationControls({
20
const handleBack = (): void => {
21
const hasReferrer = document.referrer !== '';
22
const hasSameOriginReferrer =
23
- hasReferrer && new URL(document.referrer).origin === window.location.origin;
+ hasReferrer &&
24
+ new URL(document.referrer).origin === window.location.origin;
25
26
if (!hasSameOriginReferrer) {
27
router.push('/feeds');
0 commit comments