Skip to content

Commit

Permalink
evn change up
Browse files Browse the repository at this point in the history
  • Loading branch information
Dcastro99 committed Sep 29, 2022
1 parent 23fd815 commit 08f12d9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { BrowserRouter as Router, Routes, Route } from 'react-router-dom';
import ReactLoading from 'react-loading';
import { withAuth0 } from '@auth0/auth0-react';
import Welcome from '../../frontend/src/components/Welcome/index';
import Welcome from './components/Welcome';
import axios from 'axios';
import ExplorePage from './pages/ExplorePage.js';
import AboutUsPage from './pages/AboutUsPage.js';
Expand Down Expand Up @@ -69,7 +69,7 @@ class App extends React.Component {
<HomePage allTrails={this.state.allTrails} auth0={this.props.auth0} />
}
/>
<Route path="Trails" element={<Trails />} />
<Route path="/trails" element={<Trails />} />
<Route exact path='/weather' element={< Weather />} />
<Route exact path='/explore' element={< ExplorePage auth0={this.props.auth0} />} />
<Route exact path='/profile' element={< ProfilePage auth0={this.props.auth0} />} />
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/Socket-io/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function Chat(props) {
return chat.map(({ name, message }, index) => (
<div key={index}>
<h3>
<p id='userName'>{user.given_name}:</p> <span id='chatmessage'>{message}</span>
<p id='userName'>{user.name}:</p> <span id='chatmessage'>{message}</span>
</h3>
</div>
))
Expand Down

0 comments on commit 08f12d9

Please sign in to comment.