Skip to content

Commit 943038a

Browse files
committed
chore: add todo about returnNav on editor/new route
1 parent 6e1ccf7 commit 943038a

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/pages/editor/new/index.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@ const action = resolveEditorActionFromPathname(pathname);
1919
>
2020
<Navbar
2121
returnNav={{
22+
/**
23+
* @todo now this looks weirds the commit link below - the `editor/new` route can now be reached from places..
24+
* ..other than the jargons editor page.
25+
* @link https://github.com/babblebey/jargons.dev/pull/60/commits/6e1ccf74f31c6b8da4b42bc1ffdc0efbf16b19ac
26+
*/
2227
label: "Back to Jargons Editor",
2328
location: "javascript: history.back()"
2429
}}

0 commit comments

Comments
 (0)