|
import { hasReferer, getReferer, clearReferer } from '../../util/referer';
|
|
|
|
export function* navigateToRefererSaga() {
|
|
if (!hasReferer()) return;
|
|
const referer = getReferer();
|
|
console.log("Redirecting to referer", referer);
|
|
clearReferer();
|
|
window.location.hash = referer;
|
|
} |