This repository was archived by the owner on Feb 22, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +3
-8
lines changed
react-components/bot-landing Expand file tree Collapse file tree 3 files changed +3
-8
lines changed Original file line number Diff line number Diff line change @@ -72,7 +72,6 @@ export const setTimeOutBanner = route => {
72
72
( route === 'views' && checkifBotRunning ( ) === true )
73
73
) {
74
74
remove ( 'setDueDateForBanner' ) ;
75
- setStorage ( 'setDueDateForBanner' , expirationDate ( ) ) ;
76
75
return false ;
77
76
}
78
77
} , calcSetTimeoutValueBanner ) ;
@@ -83,7 +82,7 @@ export const renderBanner = () => {
83
82
getComponent ( ) ;
84
83
render ( Component , document . getElementById ( dynamicRoutePathanme ) ) ;
85
84
if ( dynamicRoutePathanme === 'bot-landing' ) {
86
- setStorage ( 'setDueDateForBanner' , expirationDate ( ) ) ;
85
+ // setStorage('setDueDateForBanner', expirationDate());
87
86
}
88
87
elements . map ( elem => document . querySelector ( elem ) . classList . add ( 'hidden' ) ) ;
89
88
document . getElementById ( dynamicRoutePathanme ) . classList . remove ( 'hidden' ) ;
Original file line number Diff line number Diff line change @@ -15,9 +15,7 @@ const Hero = () => (
15
15
< a href = "https://bot.deriv.com" >
16
16
< button className = "l-btn primary" > { translate ( 'Take me to Binary Bot on Deriv' ) } </ button >
17
17
</ a >
18
- < a href = { generateURL ( window . location . href ) } >
19
- < button className = "l-btn" > { translate ( 'Maybe later' ) } </ button >
20
- </ a >
18
+
21
19
</ div >
22
20
</ div >
23
21
< div className = "hero-inner__placeholder" >
Original file line number Diff line number Diff line change @@ -19,9 +19,7 @@ const SwitchSection = () => (
19
19
< a href = { getOAuthURLDeriv ( ) } >
20
20
< button className = "l-btn danger" > { translate ( 'Try it now' ) } </ button >
21
21
</ a >
22
- < a href = { generateURL ( window . location . href ) } >
23
- < button className = "l-btn transparent" > { translate ( 'Maybe later' ) } </ button >
24
- </ a >
22
+
25
23
</ div >
26
24
</ div >
27
25
</ div >
You can’t perform that action at this time.
0 commit comments