diff options
Diffstat (limited to 'frontend/views/graph/components')
| -rw-r--r-- | frontend/views/graph/components/graph.header.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/views/graph/components/graph.header.js b/frontend/views/graph/components/graph.header.js index 6a927ec..46ad962 100644 --- a/frontend/views/graph/components/graph.header.js +++ b/frontend/views/graph/components/graph.header.js @@ -12,7 +12,7 @@ function GraphHeader(props) { <Link to="/" className="logo"><b>{props.site.siteTitle}</b></Link> </div> <div> - <button onClick={() => props.graphActions.showAddPageForm()}>+ Add page</button> + <button onClick={() => props.graphActions.toggleAddPageForm()}>+ Add page</button> </div> </header> ) |
