You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Component's code is the same as the example of your Git ,and also add the ScrollToTopOnMount component.But the browser gives the error "[react-router] Location "/sectionTwo" did not match any routes".
`import React, { Component, PropTypes } from 'react'
import {ScrollToTopOnMount, SectionsContainer, Section} from 'react-fullpage';
Component's code is the same as the example of your Git ,and also add the ScrollToTopOnMount component.But the browser gives the error "[react-router] Location "/sectionTwo" did not match any routes".
`import React, { Component, PropTypes } from 'react'
import {ScrollToTopOnMount, SectionsContainer, Section} from 'react-fullpage';
export default class Cover extends Component {
constructor(props) {
super(props)
this.state = {
current: 0,
}
}
render() {
const options = {
sectionClassName: 'section',
anchors: ['sectionOne', 'sectionTwo', 'sectionThree'],
scrollBar: false,
navigation: true,
verticalAlign: false,
sectionPaddingTop: '50px',
sectionPaddingBottom: '50px',
arrowNavigation: true,
scrollCallback: (states) => this.setState({current: states.activeSection})
};
}
}`
The text was updated successfully, but these errors were encountered: