Skip to content

Commit

Permalink
further tweak to check if in okta function
Browse files Browse the repository at this point in the history
  • Loading branch information
Georges-GNM committed May 31, 2023
1 parent 8910a58 commit 7ab2825
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getCookie } from '@guardian/libs';
import { CheckUserSignInStatus } from './identity';

export function checkIfInOkta() {
export function checkIfInOktaTestToCheckSignInStatus() {
const isInOktaExperiment = window.guardian.config.switches.okta == true;
const isSignedIn = isInOktaExperiment
? CheckUserSignInStatus()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import type { EpicPayload } from '@guardian/support-dotcom-components/dist/dotco
import React, { useEffect, useState } from 'react';
import { createPortal } from 'react-dom';
import { useArticleCounts } from '../../lib/articleCount';
import { checkIfInOktaTestToCheckSignInStatus } from '../../lib/checkIfInOkta';
import { checkIfInOktaTestToCheckSignInStatus } from '../../lib/checkIfInOktaTestToCheckSignInStatus';
import type { TagType } from '../../types/tag';
import { submitComponentEvent } from '../browser/ophan/ophan';
import {
Expand Down

0 comments on commit 7ab2825

Please sign in to comment.