Fix wrong URL path

This commit is contained in:
Cecile Tonglet 2020-10-19 15:44:58 +02:00
parent 628cba209e
commit 6887677ff8

View file

@ -113,7 +113,7 @@ impl Component for App {
/>
<MenuItem
text={html!("Button Group")}
href="#bgroup"
href="#button-group"
onclick=self.link
.callback(|_| Msg::GoToMenu(DocMenu::ButtonGroup))
/>
@ -230,7 +230,7 @@ impl Component for App {
pub enum DocMenu {
#[to = "/#button"]
Button,
#[to = "/#bgroup"]
#[to = "/#button-group"]
ButtonGroup,
#[to = "/#callout"]
Callout,