Skip to content
This repository was archived by the owner on Sep 19, 2021. It is now read-only.

Commit

Permalink
default the SectionLink to link to nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
afeld committed Jun 15, 2018
1 parent 6b93de9 commit 6f76e47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/components/Navigation/SectionLink.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,6 @@ export default class SectionLink extends React.Component {
}

SectionLink.defaultProps = {
to: 'javascript:;;',
sectionNum: null
}
3 changes: 1 addition & 2 deletions src/components/Navigation/ToggleItem.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@ export class ToggleItem extends React.Component {
className={this.props.className}
title={this.props.title}
onClick={this.toggle}
sectionNum={this.props.number}
to="javascript:;;;">
sectionNum={this.props.number}>
<Show when={this.state.visible}>
<i className="fa fa-angle-up" aria-hidden="true"></i>
</Show>
Expand Down

0 comments on commit 6f76e47

Please sign in to comment.