Skip to content
This repository was archived by the owner on Feb 22, 2024. It is now read-only.

Commit 2105ac1

Browse files
committed
fix: removed unused checl
1 parent 198cdb8 commit 2105ac1

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

src/indexPage/index.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { isEuCountry, showHideEuElements } from '../common/footer-checks';
88
import GTM from '../common/gtm';
99
import { load as loadLang, showBanner } from '../common/lang';
1010
import { moveToDeriv } from '../common/utils/utility';
11-
import { get as getStorage, set as setStorage, remove, getTokenList } from '../common/utils/storageManager';
11+
import { get as getStorage, remove, getTokenList } from '../common/utils/storageManager';
1212
import { createUrl, isBinaryDomain, parseQueryString, serialize } from '../common/utils/tools';
1313
import '../common/binary-ui/dropdown';
1414
import BotLanding from './react-components/bot-landing';
@@ -81,9 +81,6 @@ export const renderBanner = () => {
8181
if (window.location.pathname.indexOf('/bot') === -1 || window.location.pathname === '/movetoderiv.html') {
8282
getComponent();
8383
render(Component, document.getElementById(dynamicRoutePathanme));
84-
if (dynamicRoutePathanme === 'bot-landing') {
85-
// setStorage('setDueDateForBanner', expirationDate());
86-
}
8784
elements.map(elem => document.querySelector(elem).classList.add('hidden'));
8885
document.getElementById(dynamicRoutePathanme).classList.remove('hidden');
8986
document.getElementById('bot-main').classList.remove('hidden');

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy