Skip to content

Commit

Permalink
fixed typo on previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jittania committed Jun 29, 2021
1 parent 6855383 commit 36b1d20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ function App() {
});

// sends GET request to boards endpoint
// response contains data for all boards
// response object contains data for all boards
// response used to update boardsData state
useEffect(() => {
axios
.get(`${process.env.REACT_APP_BACKEND_URL}/boards`, {
Expand All @@ -31,7 +32,6 @@ function App() {
})
}, []);

//
const selectBoard = (board) => { setSelectedBoard(board) };

// mapping the response data from a successful GET request to
Expand Down

0 comments on commit 36b1d20

Please sign in to comment.