Update client/src/components/layouts/components/guide/redux/side-navigation-saga.js
Co-Authored-By: ahmadabdolsaheb <ahmad.abdolsaheb@gmail.com>
This commit is contained in:
@ -3,7 +3,7 @@ import { takeEvery, put, all } from 'redux-saga/effects';
|
|||||||
import { toggleExpandedState } from './';
|
import { toggleExpandedState } from './';
|
||||||
import { types as appTypes } from '../../../../../redux';
|
import { types as appTypes } from '../../../../../redux';
|
||||||
|
|
||||||
function* showDonateModalSaga() {
|
function* expandSideNavOnMountSaga() {
|
||||||
let guideRegex = /^\/guide\//;
|
let guideRegex = /^\/guide\//;
|
||||||
let onGuide = guideRegex.test(window.location.pathname);
|
let onGuide = guideRegex.test(window.location.pathname);
|
||||||
if (onGuide && typeof window !== 'undefined') {
|
if (onGuide && typeof window !== 'undefined') {
|
||||||
|
Reference in New Issue
Block a user