Zone editing

This commit is contained in:
Timothy Armes
2024-04-11 11:21:08 +02:00
parent 9f12a00030
commit 9e9f5fd975
11 changed files with 225 additions and 28 deletions
+7
View File
@@ -27,6 +27,11 @@ export const pathnames = {
en: "/zones/create",
},
"/zones/edit/[id]": {
fr: "/regions/modifier/[id]",
en: "/zones/edit/[id]",
},
"/add-tournament": {
fr: "/ajouter-un-tournoi",
en: "/add-tournament",
@@ -36,6 +41,8 @@ export const pathnames = {
fr: "/contactez-nous",
en: "/contact-us",
},
"[...rest]": "[...rest]",
} satisfies Pathnames<typeof locales>;
export const { Link, redirect, usePathname, useRouter, getPathname } =