commit
						f31d29f76c
					
				@ -226,17 +226,17 @@ class ResponsiveDrawer extends React.Component {
 | 
				
			|||||||
                    </ListItem>
 | 
					                    </ListItem>
 | 
				
			||||||
                    <Collapse in={this.state.open} timeout="auto" unmountOnExit>
 | 
					                    <Collapse in={this.state.open} timeout="auto" unmountOnExit>
 | 
				
			||||||
                        <List component="div" disablePadding>
 | 
					                        <List component="div" disablePadding>
 | 
				
			||||||
                            <Link to={{pathname: '/quiz-easy', state: {difficulty: 'Easy'}}}>
 | 
					                            <Link to={{ pathname: '/quiz-easy', state: { difficulty: 'Easy' } }}>
 | 
				
			||||||
                                <ListItem button className={classes.nested}>
 | 
					                                <ListItem button className={classes.nested}>
 | 
				
			||||||
                                    <ListItemText inset primary="Easy" />
 | 
					                                    <ListItemText inset primary="Easy" />
 | 
				
			||||||
                                </ListItem>
 | 
					                                </ListItem>
 | 
				
			||||||
                            </Link>
 | 
					                            </Link>
 | 
				
			||||||
                            <Link to={{pathname: '/quiz-intermediate', state: {difficulty: 'Intermediate'}}}>
 | 
					                            <Link to={{ pathname: '/quiz-intermediate', state: { difficulty: 'Intermediate' } }}>
 | 
				
			||||||
                                <ListItem button className={classes.nested}>
 | 
					                                <ListItem button className={classes.nested}>
 | 
				
			||||||
                                    <ListItemText inset primary="Intermediate" />
 | 
					                                    <ListItemText inset primary="Intermediate" />
 | 
				
			||||||
                                </ListItem>
 | 
					                                </ListItem>
 | 
				
			||||||
                            </Link>
 | 
					                            </Link>
 | 
				
			||||||
                            <Link to={{pathname: '/quiz-advanced', state: {difficulty: 'Advanced'}}}>
 | 
					                            <Link to={{ pathname: '/quiz-advanced', state: { difficulty: 'Advanced' } }}>
 | 
				
			||||||
                                <ListItem button className={classes.nested}>
 | 
					                                <ListItem button className={classes.nested}>
 | 
				
			||||||
                                    <ListItemText inset primary="Advanced" />
 | 
					                                    <ListItemText inset primary="Advanced" />
 | 
				
			||||||
                                </ListItem>
 | 
					                                </ListItem>
 | 
				
			||||||
@ -264,22 +264,22 @@ class ResponsiveDrawer extends React.Component {
 | 
				
			|||||||
                    </ListItem>
 | 
					                    </ListItem>
 | 
				
			||||||
                    <Collapse in={this.state.open2} timeout="auto" unmountOnExit>
 | 
					                    <Collapse in={this.state.open2} timeout="auto" unmountOnExit>
 | 
				
			||||||
                        <List component="div" disablePadding>
 | 
					                        <List component="div" disablePadding>
 | 
				
			||||||
                            <Link to={{pathname: 'galleries-martens-and-kits', state: {galleryName: 'martensAndKits'}}}>
 | 
					                            <Link to={{ pathname: 'galleries-martens-and-kits', state: { galleryName: 'martensAndKits' } }}>
 | 
				
			||||||
                                <ListItem button className={classes.nested}>
 | 
					                                <ListItem button className={classes.nested}>
 | 
				
			||||||
                                    <ListItemText inset primary="Martens and Kits" />
 | 
					                                    <ListItemText inset primary="Martens and Kits" />
 | 
				
			||||||
                                </ListItem>
 | 
					                                </ListItem>
 | 
				
			||||||
                            </Link>
 | 
					                            </Link>
 | 
				
			||||||
                            <Link to={{pathname: 'galleries-martens-at-night', state: {galleryName: 'martensAtNight'}}}>
 | 
					                            <Link to={{ pathname: 'galleries-martens-at-night', state: { galleryName: 'martensAtNight' } }}>
 | 
				
			||||||
                                <ListItem button className={classes.nested}>
 | 
					                                <ListItem button className={classes.nested}>
 | 
				
			||||||
                                    <ListItemText inset primary="Martens at Night" />
 | 
					                                    <ListItemText inset primary="Martens at Night" />
 | 
				
			||||||
                                </ListItem>
 | 
					                                </ListItem>
 | 
				
			||||||
                            </Link>
 | 
					                            </Link>
 | 
				
			||||||
                            <Link to={{pathname: 'galleries-martens-by-day', state: {galleryName: 'martensBeingMartens'}}}>
 | 
					                            <Link to={{ pathname: 'galleries-martens-by-day', state: { galleryName: 'martensBeingMartens' } }}>
 | 
				
			||||||
                                <ListItem button className={classes.nested}>
 | 
					                                <ListItem button className={classes.nested}>
 | 
				
			||||||
                                    <ListItemText inset primary="Martens by Day" />
 | 
					                                    <ListItemText inset primary="Martens by Day" />
 | 
				
			||||||
                                </ListItem>
 | 
					                                </ListItem>
 | 
				
			||||||
                            </Link>
 | 
					                            </Link>
 | 
				
			||||||
                            <Link to={{pathname: 'galleries-species-similar-to-martens', state: {galleryName: 'similarSpecies'}}}>
 | 
					                            <Link to={{ pathname: 'galleries-species-similar-to-martens', state: { galleryName: 'similarSpecies' } }}>
 | 
				
			||||||
                                <ListItem button className={classes.nested}>
 | 
					                                <ListItem button className={classes.nested}>
 | 
				
			||||||
                                    <ListItemText inset primary="Species Similar to Martens" />
 | 
					                                    <ListItemText inset primary="Species Similar to Martens" />
 | 
				
			||||||
                                </ListItem>
 | 
					                                </ListItem>
 | 
				
			||||||
@ -353,13 +353,13 @@ class ResponsiveDrawer extends React.Component {
 | 
				
			|||||||
                                <Route path="/" component={Home} exact={true} />
 | 
					                                <Route path="/" component={Home} exact={true} />
 | 
				
			||||||
                                <Route path="/report" component={Report} />
 | 
					                                <Route path="/report" component={Report} />
 | 
				
			||||||
                                <Route path="/view-map" component={ViewMap} />
 | 
					                                <Route path="/view-map" component={ViewMap} />
 | 
				
			||||||
                          <Route path="/sighting-list" component={SightingList} />
 | 
					                                <Route path="/sighting-list" component={SightingList} key={this.state.themeName} />
 | 
				
			||||||
                                <Route path="/about" component={About} />
 | 
					                                <Route path="/about" component={About} />
 | 
				
			||||||
                                <Route path="/contact" component={Contact} />
 | 
					                                <Route path="/contact" component={Contact} />
 | 
				
			||||||
                          <Route path="/quiz-easy" component={Quiz} key={"Easy"}/>
 | 
					                                <Route path="/quiz-easy" component={Quiz} key={"Easy"} />
 | 
				
			||||||
                          <Route path="/quiz-intermediate" component={Quiz} key={"Intermediate"}/>
 | 
					                                <Route path="/quiz-intermediate" component={Quiz} key={"Intermediate"} />
 | 
				
			||||||
                                <Route path="/quiz-advanced" component={Quiz} key={"Advanced"} />
 | 
					                                <Route path="/quiz-advanced" component={Quiz} key={"Advanced"} />
 | 
				
			||||||
                          <Route path="/galleries-martens-and-kits" component={FlameLinkCollectionGallery} key={"martensAndKits"}/>
 | 
					                                <Route path="/galleries-martens-and-kits" component={FlameLinkCollectionGallery} key={"martensAndKits"} />
 | 
				
			||||||
                                <Route path="/galleries-martens-at-night" component={FlameLinkCollectionGallery} key={"martensAtNight"} />
 | 
					                                <Route path="/galleries-martens-at-night" component={FlameLinkCollectionGallery} key={"martensAtNight"} />
 | 
				
			||||||
                                <Route path="/galleries-martens-by-day" component={FlameLinkCollectionGallery} key={"martensByDay"} />
 | 
					                                <Route path="/galleries-martens-by-day" component={FlameLinkCollectionGallery} key={"martensByDay"} />
 | 
				
			||||||
                                <Route path="/galleries-species-similar-to-martens" component={FlameLinkCollectionGallery} key={"similarSpecies"} />
 | 
					                                <Route path="/galleries-species-similar-to-martens" component={FlameLinkCollectionGallery} key={"similarSpecies"} />
 | 
				
			||||||
 | 
				
			|||||||
@ -64,24 +64,6 @@ class ViewSightings extends Component {
 | 
				
			|||||||
        clicked: false
 | 
					        clicked: false
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    componentDidUpdate(props) {
 | 
					 | 
				
			||||||
        if (this.props.themeName !== props.themeName) {
 | 
					 | 
				
			||||||
            this.setState({
 | 
					 | 
				
			||||||
                selectedSighting: {
 | 
					 | 
				
			||||||
                    id: null,
 | 
					 | 
				
			||||||
                    lat: null,
 | 
					 | 
				
			||||||
                    lng: null,
 | 
					 | 
				
			||||||
                    desc: null,
 | 
					 | 
				
			||||||
                    type: null,
 | 
					 | 
				
			||||||
                    confidence: null,
 | 
					 | 
				
			||||||
                    date: null,
 | 
					 | 
				
			||||||
                    time: null
 | 
					 | 
				
			||||||
                },
 | 
					 | 
				
			||||||
                clicked: false
 | 
					 | 
				
			||||||
            });
 | 
					 | 
				
			||||||
        }
 | 
					 | 
				
			||||||
    }
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    render() {
 | 
					    render() {
 | 
				
			||||||
        return (
 | 
					        return (
 | 
				
			||||||
            <Fragment>
 | 
					            <Fragment>
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user