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
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue