Skip to content

Commit 442ba4b

Browse files
Anshul SachdevAnshul Sachdev
Anshul Sachdev
authored and
Anshul Sachdev
committed
Remvoed modal from all blogs for app
1 parent d960ecb commit 442ba4b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/app.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ import { startSetPlacements } from './actions/placements';
1717
import TeamBuildingModal from './components/TeamBuildingModal';
1818

1919
const store = configureStore();
20+
const notShowModal = ["/blogs","/onlinevsoffline","/placement-guide","/room-counselling","/hostel-vacating-procedure","/npm-package","/placement-experience"]
2021

2122
const jsx = (
2223
<Provider store={store}>
2324
<div>
2425
{
25-
window.location.pathname!=="/blogs" ? <TeamBuildingModal /> : null
26+
!notShowModal.includes(window.location.pathname) ? <TeamBuildingModal /> : null
2627
}
2728
<AppRouter />
2829
</div>

0 commit comments

Comments
 (0)