mirror of
https://github.com/Nutomic/ibis.git
synced 2024-11-25 19:41:10 +00:00
Fix redirect after creating article
This commit is contained in:
parent
a39a7ae5e6
commit
fab78f7911
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ pub fn CreateArticle() -> impl IntoView {
|
||||||
</button>
|
</button>
|
||||||
}
|
}
|
||||||
}>
|
}>
|
||||||
<Redirect path={format!("/article/{}", title.get())} />
|
<Redirect path={format!("/article/{}", title.get().replace(' ', "_"))} />
|
||||||
</Show>
|
</Show>
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue