fix: Improve error handling for Azure-specific errors not captured in OAuth2 strategy

This commit is contained in:
Tom Moor
2021-04-18 22:41:27 -07:00
parent 04b8d7ae7b
commit 317c52df62
6 changed files with 35 additions and 27 deletions

6
app/hooks/useQuery.js Normal file
View File

@@ -0,0 +1,6 @@
// @flow
import { useLocation } from "react-router-dom";
export default function useQuery() {
return new URLSearchParams(useLocation().search);
}