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

Mitra/Redirect row client to deriv #3835

Draft
wants to merge 17 commits into
base: binary-to-deriv
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: 👔 update cookie expiry day from 7 to 1
  • Loading branch information
mitra-deriv committed Mar 29, 2023
commit 10c4a02a5b957d304385bbb98d9e3de17f1e2cdb
2 changes: 1 addition & 1 deletion src/indexPage/react-components/binary-landing/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ import Cookies from 'js-cookie';

// eslint-disable-next-line import/prefer-default-export
export const setBinaryCookieAndRedirect = url => {
Cookies.set('row-lp-visited', true, { expires: 7 });
Cookies.set('row-lp-visited', true, { expires: 1 });
window.open(url, '_self');
};
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