diff --git a/package-lock.json b/package-lock.json index b849e92a..1b191c47 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "version": "0.1.0", "dependencies": { "@auth0/auth0-react": "^1.11.0", - "@azure/msal-browser": "^3.6.0", + "@azure/msal-browser": "^3.10.0", "@azure/msal-react": "^2.0.8", "@date-io/date-fns": "^1.3.13", "@emotion/react": "^11.10.4", @@ -117,20 +117,20 @@ } }, "node_modules/@azure/msal-browser": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-3.6.0.tgz", - "integrity": "sha512-FrFBJXRJMyWXjAjg4cUNZwEKktzfzD/YD9+S1kj2ors67hKoveam4aL0bZuCZU/jTiHTn0xDQGQh2ksCMXTXtA==", + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-3.10.0.tgz", + "integrity": "sha512-mnmi8dCXVNZI+AGRq0jKQ3YiodlIC4W9npr6FCB9WN6NQT+6rq+cIlxgUb//BjLyzKsnYo+i4LROGeMyU+6v1A==", "dependencies": { - "@azure/msal-common": "14.5.0" + "@azure/msal-common": "14.7.1" }, "engines": { "node": ">=0.8.0" } }, "node_modules/@azure/msal-common": { - "version": "14.5.0", - "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.5.0.tgz", - "integrity": "sha512-Gx5rZbiZV/HiZ2nEKfjfAF/qDdZ4/QWxMvMo2jhIFVz528dVKtaZyFAOtsX2Ak8+TQvRsGCaEfuwJFuXB6tu1A==", + "version": "14.7.1", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.7.1.tgz", + "integrity": "sha512-v96btzjM7KrAu4NSEdOkhQSTGOuNUIIsUdB8wlyB9cdgl5KqEKnTonHUZ8+khvZ6Ap542FCErbnTyDWl8lZ2rA==", "engines": { "node": ">=0.8.0" } @@ -20722,17 +20722,17 @@ } }, "@azure/msal-browser": { - "version": "3.6.0", - "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-3.6.0.tgz", - "integrity": "sha512-FrFBJXRJMyWXjAjg4cUNZwEKktzfzD/YD9+S1kj2ors67hKoveam4aL0bZuCZU/jTiHTn0xDQGQh2ksCMXTXtA==", + "version": "3.10.0", + "resolved": "https://registry.npmjs.org/@azure/msal-browser/-/msal-browser-3.10.0.tgz", + "integrity": "sha512-mnmi8dCXVNZI+AGRq0jKQ3YiodlIC4W9npr6FCB9WN6NQT+6rq+cIlxgUb//BjLyzKsnYo+i4LROGeMyU+6v1A==", "requires": { - "@azure/msal-common": "14.5.0" + "@azure/msal-common": "14.7.1" } }, "@azure/msal-common": { - "version": "14.5.0", - "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.5.0.tgz", - "integrity": "sha512-Gx5rZbiZV/HiZ2nEKfjfAF/qDdZ4/QWxMvMo2jhIFVz528dVKtaZyFAOtsX2Ak8+TQvRsGCaEfuwJFuXB6tu1A==" + "version": "14.7.1", + "resolved": "https://registry.npmjs.org/@azure/msal-common/-/msal-common-14.7.1.tgz", + "integrity": "sha512-v96btzjM7KrAu4NSEdOkhQSTGOuNUIIsUdB8wlyB9cdgl5KqEKnTonHUZ8+khvZ6Ap542FCErbnTyDWl8lZ2rA==" }, "@azure/msal-react": { "version": "2.0.8", diff --git a/package.json b/package.json index da2ffcae..ce6da88d 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ }, "dependencies": { "@auth0/auth0-react": "^1.11.0", - "@azure/msal-browser": "^3.6.0", + "@azure/msal-browser": "^3.10.0", "@azure/msal-react": "^2.0.8", "@date-io/date-fns": "^1.3.13", "@emotion/react": "^11.10.4", diff --git a/src/AppRoutes.tsx b/src/AppRoutes.tsx index 679738cf..b85a694c 100644 --- a/src/AppRoutes.tsx +++ b/src/AppRoutes.tsx @@ -35,7 +35,7 @@ const AppRoutes: FC = () => { return ( - + } /> } /> } /> diff --git a/src/components/Arkivsjef/ArchiveBossCreateUser/ArchiveBossCreateUser.tsx b/src/components/Arkivsjef/ArchiveBossCreateUser/ArchiveBossCreateUser.tsx index af1c0623..1cd24df8 100644 --- a/src/components/Arkivsjef/ArchiveBossCreateUser/ArchiveBossCreateUser.tsx +++ b/src/components/Arkivsjef/ArchiveBossCreateUser/ArchiveBossCreateUser.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from "react"; +import React, { useState } from "react"; import { useMsal } from "@azure/msal-react"; import { Button, Paper, FormControl, FormLabel, TextField } from "@mui/material"; import styles from "./ArchiveBossCreateUser.module.css" @@ -139,7 +139,5 @@ const ArchiveBossCreateUser = () => { }; export default ArchiveBossCreateUser; - function useErrorBoundary(): { didCatch: any; error: any; errorInfo: any; } { - throw new Error("Function not implemented."); - } +