1
0
mirror of https://github.com/theoludwig/theoludwig.git synced 2026-05-06 13:48:12 +02:00

build(deps): update latest

This commit is contained in:
2026-05-06 13:40:51 +02:00
parent 3ee53e84f6
commit 332b1e69c2
15 changed files with 1881 additions and 1905 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ export const getPathnameWithoutLocale = (input: string): string => {
const locale = LOCALES.find((locale) => {
return input.startsWith(`/${locale}`)
})
const pathname = locale != null ? input.slice(locale.length + 1) : input
const pathname = locale == null ? input : input.slice(locale.length + 1)
if (pathname.length <= 0) {
return `/${pathname}`
}