mirror of
https://github.com/Myzel394/kleckrelay-website.git
synced 2025-06-19 15:55:26 +02:00
fix: Navigate to /aliases by default
This commit is contained in:
parent
b405a0817f
commit
bf489d587b
@ -3,7 +3,7 @@ import {useCallback} from "react"
|
|||||||
|
|
||||||
import {getNextUrl} from "~/utils"
|
import {getNextUrl} from "~/utils"
|
||||||
|
|
||||||
export default function useNavigateToNext(defaultNextUrl = "/"): () => void {
|
export default function useNavigateToNext(defaultNextUrl = "/aliases"): () => void {
|
||||||
const navigate = useNavigate()
|
const navigate = useNavigate()
|
||||||
const location = useLocation()
|
const location = useLocation()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user