Skip to content

Commit d048021

Browse files
author
Emile Frey
committed
updated readme
1 parent 7f5325a commit d048021

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ The server should be available at `http://127.0.0.1/`. This mode will not hot re
4949
- [x] show password errors
5050
- [x] loading icon on login
5151
- [x] ensure a non-existing route redirects to home
52-
- [ ] email support (for password reset, etc.)
52+
- [ ] email support (for password reset)
5353
- [ ] Add support for nested sub-routes off the main left-nav routes
5454
- [ ] forgot password functionality (email)
5555
- [ ] Context level modal?
56+
- [ ] Swagger API Explorer
5657
- [ ] Backend Testing
5758
- [ ] Frontend Testing (React Testing Library)
5859
- [ ] Auto redirect to login with Failed Request

frontend/src/components/Home.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ function Home(props: AuthProps) {
187187
<Grid item>
188188
<Tooltip title="Toggle the state of the token and simulate successful/failed API requests.">
189189
<div>
190-
<IOSSwitch checked={token === props.token} onChange={() => token === 'abc' ? setToken(props.token) : setToken('abc')} />
190+
<IOSSwitch checked={token === props.token} onChange={() => token === props.token ? setToken('abc') : setToken(props.token)} />
191191
</div>
192192
</Tooltip>
193193
</Grid>

0 commit comments

Comments
 (0)