feat(frontend): show page when login fails

This commit is contained in:
Julian Tölle 2020-05-02 21:46:05 +02:00
parent cffddedc81
commit 32dcd84964
6 changed files with 35 additions and 5 deletions

View file

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