mirror of
https://github.com/yewprint/yewprint
synced 2024-11-25 04:50:20 +00:00
Fix wrong URL path
This commit is contained in:
parent
628cba209e
commit
6887677ff8
1 changed files with 2 additions and 2 deletions
|
@ -113,7 +113,7 @@ impl Component for App {
|
||||||
/>
|
/>
|
||||||
<MenuItem
|
<MenuItem
|
||||||
text={html!("Button Group")}
|
text={html!("Button Group")}
|
||||||
href="#bgroup"
|
href="#button-group"
|
||||||
onclick=self.link
|
onclick=self.link
|
||||||
.callback(|_| Msg::GoToMenu(DocMenu::ButtonGroup))
|
.callback(|_| Msg::GoToMenu(DocMenu::ButtonGroup))
|
||||||
/>
|
/>
|
||||||
|
@ -230,7 +230,7 @@ impl Component for App {
|
||||||
pub enum DocMenu {
|
pub enum DocMenu {
|
||||||
#[to = "/#button"]
|
#[to = "/#button"]
|
||||||
Button,
|
Button,
|
||||||
#[to = "/#bgroup"]
|
#[to = "/#button-group"]
|
||||||
ButtonGroup,
|
ButtonGroup,
|
||||||
#[to = "/#callout"]
|
#[to = "/#callout"]
|
||||||
Callout,
|
Callout,
|
||||||
|
|
Loading…
Reference in a new issue