Skip to content

Commit 8c33bfa

Browse files
committed
Fixed the Key error in console as well
1 parent b50d478 commit 8c33bfa

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

src/components/App/App.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ const App = () => (
1616
<Bookings />
1717
<Restaurant />
1818
<Deck />
19-
2019
<Footer
2120
details={[
2221
"123 Fake Street, London, E1 4UD",

src/components/SearchResult/SearchResult.jsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ function SearchResult() {
1818
"day"
1919
);
2020
return (
21-
<>
2221
<TableBody
2322
key={book.id}
2423
id={book.id}
@@ -31,12 +30,11 @@ function SearchResult() {
3130
checkOutDate={book.checkOutDate}
3231
stayNights={stayNightsTotal}
3332
/>
34-
</>
3533
);
3634
})}
3735
</tbody>
3836
</table>
3937
);
4038
}
4139
export default SearchResult;
42-
console.log(SearchResult());
40+

0 commit comments

Comments
 (0)