Skip to content

Commit

Permalink
updated files
Browse files Browse the repository at this point in the history
  • Loading branch information
rahilhussain committed Sep 1, 2020
1 parent 71d7716 commit 173fa59
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions backend/routes/userRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ router.post('/register', async (req, res) => {
router.get('/createadmin', async (req, res) => {
try {
const user = new User({
name: 'Basir',
email: 'admin@example.com',
name: 'Rahil',
email: 'rahil@gmail.com',
password: '1234',
isAdmin: true,
});
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/screens/HomeScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,14 +43,14 @@ function HomeScreen(props) {
<button type="submit">Search</button>
</form>
</li>
<li>
{/* <li>
Sort By{' '}
<select name="sortOrder" onChange={sortHandler}>
<option value="">Newest</option>
<option value="lowest">Lowest</option>
<option value="highest">Highest</option>
</select>
</li>
</li> */}
</ul>
{loading ? (
<div>Loading...</div>
Expand Down

0 comments on commit 173fa59

Please sign in to comment.