Improve handling of rawPath

Instead of computing it in multiple components, we should do it in
router.ts in the routes where we need it, and add the commit param when
we have it.
This commit is contained in:
Sebastian Martinez
2023-11-27 14:12:24 +01:00
parent 999adff9c1
commit b6ac9bd4a7
12 changed files with 48 additions and 34 deletions
+1
View File
@@ -129,6 +129,7 @@
{#if createReply}
<div id={`reply-${root.id}`} class="reply">
<CommentToggleInput
{rawPath}
inline
placeholder="Reply to comment"
on:click={toggleReply}