This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { UserAgentApplication, Logger, LogLevel } from "msal"; | |
export const isIE = () => { | |
const ua = window.navigator.userAgent; | |
const msie = ua.indexOf("MSIE ") > -1; | |
const msie11 = ua.indexOf("Trident/") > -1; | |
// If you as a developer are testing using Edge InPrivate mode, please add "isEdge" to the if check | |
// const isEdge = ua.indexOf("Edge/") > -1; |