fix: Improve error handling for Azure-specific errors not captured in OAuth2 strategy
This commit is contained in:
6
app/hooks/useQuery.js
Normal file
6
app/hooks/useQuery.js
Normal file
@@ -0,0 +1,6 @@
|
||||
// @flow
|
||||
import { useLocation } from "react-router-dom";
|
||||
|
||||
export default function useQuery() {
|
||||
return new URLSearchParams(useLocation().search);
|
||||
}
|
||||
Reference in New Issue
Block a user