feature/IO-2916-Remove-Beta-Switch-LEGACY - Remove cookie
Signed-off-by: Dave Richer <dave@imexsystems.ca>
This commit is contained in:
@@ -116,7 +116,7 @@ function Header({
|
||||
|
||||
const { t } = useTranslation();
|
||||
|
||||
export const deleteBetaCookie = () => {
|
||||
const deleteBetaCookie = () => {
|
||||
const cookieExists = document.cookie.split("; ").some((row) => row.startsWith(`betaSwitchImex=`));
|
||||
if (cookieExists) {
|
||||
const domain = window.location.hostname.split(".").slice(-2).join(".");
|
||||
@@ -126,9 +126,9 @@ function Header({
|
||||
console.log(`betaSwitchImex cookie does not exist`);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
deleteBetaCookie();
|
||||
|
||||
|
||||
const accountingChildren = [];
|
||||
|
||||
if (
|
||||
|
||||
Reference in New Issue
Block a user