diff --git a/src/dashboard/Routes.tsx b/src/dashboard/Routes.tsx index 38cff1e0..2a90c5e6 100644 --- a/src/dashboard/Routes.tsx +++ b/src/dashboard/Routes.tsx @@ -57,7 +57,8 @@ const editLoader = atomFamily(() => { workspace: Entry.workspace }) ) - return entry + if (!entry) return null + return {...entry, locale: entry.locale || undefined} }) })