mirror of
https://github.com/apricote/Listory.git
synced 2026-01-13 21:21:02 +00:00
feat(frontend): show page when login fails
This commit is contained in:
parent
cffddedc81
commit
32dcd84964
6 changed files with 35 additions and 5 deletions
5
frontend/src/hooks/use-query.tsx
Normal file
5
frontend/src/hooks/use-query.tsx
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import { useLocation } from "react-router-dom";
|
||||
|
||||
export function useQuery(): URLSearchParams {
|
||||
return new URLSearchParams(useLocation().search);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue