diff --git a/frontend/src/views/SetAuthentication.jsx b/frontend/src/views/SetAuthentication.jsx index 278b631d..58f652ed 100644 --- a/frontend/src/views/SetAuthentication.jsx +++ b/frontend/src/views/SetAuthentication.jsx @@ -1,10 +1,10 @@ -import React, { useRef, useState, useEffect, useLayoutEffect } from "react"; +import React, { useState } from "react"; import { Typography, CircularProgress } from "@material-ui/core"; import theme from '../theme'; const SetAuthentication = (props) => { - const { globalUrl, isLoggedIn, isLoaded, userdata } = props; + const { globalUrl } = props; const [firstRequest, setFirstRequest] = useState(true); const [finished, setFinished] = useState(false); @@ -20,7 +20,7 @@ const SetAuthentication = (props) => { const params = Object.fromEntries(urlSearchParams.entries()); console.log("PARAMS: ", params) - const authenticationStore = []; + //const authenticationStore = []; var appAuthData = { label: "", app: { diff --git a/frontend/src/views/SetAuthenticationSSO.jsx b/frontend/src/views/SetAuthenticationSSO.jsx index 92afe942..371eedb8 100644 --- a/frontend/src/views/SetAuthenticationSSO.jsx +++ b/frontend/src/views/SetAuthenticationSSO.jsx @@ -1,9 +1,9 @@ -import React, { useRef, useState, useEffect, useLayoutEffect } from "react"; +import React, { useState } from "react"; import { Typography, CircularProgress } from "@material-ui/core"; const SetAuthentication = (props) => { - const { globalUrl, isLoggedIn, isLoaded, userdata } = props; + const { globalUrl } = props; const [firstRequest, setFirstRequest] = useState(true); const [finished, setFinished] = useState(false); @@ -18,7 +18,7 @@ const SetAuthentication = (props) => { const urlSearchParams = new URLSearchParams(window.location.search); const params = Object.fromEntries(urlSearchParams.entries()); - const authenticationStore = []; + // const authenticationStore = []; var appAuthData = { label: "", app: {