Skip to content

Commit

Permalink
cleanup unused functions, variables #54
Browse files Browse the repository at this point in the history
  • Loading branch information
veeepi committed Apr 16, 2021
1 parent b2ee044 commit 29dfd1e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function App() {
<Route path="/feed">
<FeedPage dataUser={dataUser} />
</Route>
<Route path="/dash">
<Route path="/">
<DashPage authUser={authUser} dataUser={dataUser} />
</Route>
</Switch>
Expand Down
2 changes: 1 addition & 1 deletion src/containers/SessionCreatePanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export default function SessionsCreatePanel({authUser, dataUser, changeTab}) {
{/* Location */}
<TextField className={classes.location} id="location" label="Location: " value={location} onChange={(e) => setLocation(e.target.value)} />

<TextField className={classes.name} id="notes" label="Notes: *" value={notes} onChange={(e) => setName(e.target.value)} />
<TextField className={classes.name} id="notes" label="Notes: *" value={notes} onChange={(e) => setNotes(e.target.value)} />

{/* Participating Clients */}
{
Expand Down
2 changes: 1 addition & 1 deletion src/containers/SessionsPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default function SessionsPanel({authUser, dataUser, sessionStatus}) {
useEffect(() => {
if(dataUser.sessions) {
sessionsRef
.where("coachUserId", "==", authUser.uid)
.where("coachUserId", "==", dataUser.id)
.where("status", "==", sessionStatus)
.onSnapshot(
querySnapshot => {
Expand Down

0 comments on commit 29dfd1e

Please sign in to comment.