feat: implement dynamic routing for editor to support persistent letter editing via public_id

This commit is contained in:
Your Name
2026-04-12 04:55:21 +05:30
parent ab080d4266
commit 5ca4be0dde
3 changed files with 19 additions and 10 deletions
+2 -1
View File
@@ -5,6 +5,7 @@ export const ROUTES = {
ACTIVATE: "/activate/:uidb64/:token",
LOGIN: "/login",
DRAWER: "/drawer",
WRITE: "/quill",
WRITE: (public_id?: string) =>
`/quill/${public_id ? public_id : ":public_id?"}`,
READ: "/read",
};