Skip to content

Commit

Permalink
Add anchors to HTML headings
Browse files Browse the repository at this point in the history
  • Loading branch information
fkleon committed May 1, 2024
1 parent a411a3d commit 172487d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/views/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ const AppComponent: m.Component<MitosisAttr<App, IAppActions>> = {
)
)
),
m('h2', 'Children'),
m('h2#children', 'Children'),
children,
m(
'button',
Expand All @@ -157,13 +157,13 @@ const AppComponent: m.Component<MitosisAttr<App, IAppActions>> = {
},
'Add child'
),
m('h2', 'Growth Chart'),
m('h2#growth-chart', 'Growth Chart'),
m(ChartSelectorComponent, {
state: state.chart,
actions: ChartActions(state.chart),
}),
m(ChartComponent, state.chart),
m('h2', 'Your Data'),
m('h2#your-data', 'Your Data'),
m(DataManagementComponent, {state, actions}),
];
},
Expand Down

0 comments on commit 172487d

Please sign in to comment.