Skip to content

Commit

Permalink
Add Enter reset token model to main page
Browse files Browse the repository at this point in the history
  • Loading branch information
adelavega committed Apr 15, 2024
1 parent 5562a82 commit d9ff2e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion neuroscout/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ import {
Dataset,
profileEditItems,
} from './coretypes'
import { LoginModal, ResetPasswordModal, SignupModal } from './Modals'
import { LoginModal, ResetPasswordModal, EnterResetTokenModal, SignupModal } from './Modals'
import Routes from './Routes'
import { jwtFetch, timeout } from './utils'
import Navbar from './Navbar'
Expand Down Expand Up @@ -248,6 +248,9 @@ class App extends React.Component<Record<string, never>, AppState> {
{this.state.user.openReset && (
<ResetPasswordModal {...this.state.user} />
)}
{this.state.user.openEnterResetToken && (
<EnterResetTokenModal {...this.state.user} />
)
{this.state.user.openSignup && <SignupModal {...this.state.user} />}
<Tour
isOpen={this.state.user.openTour}
Expand Down

0 comments on commit d9ff2e1

Please sign in to comment.