Skip to content

Commit

Permalink
#3: Implement a second page, Restaurants List
Browse files Browse the repository at this point in the history
 - fixed a failing test (updated a new prop)
  • Loading branch information
dartandrevinsky committed Apr 29, 2021
1 parent b93eef8 commit b5afedd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/features/address/addressSlice.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ describe(`src/features/address/addressSlice.js`, () => {
status: 'idle',
value: null,
error: null,
restaurantsArr: null,
restaurants: expect.objectContaining({
ids: expect.anything(),
entities: expect.anything()
Expand Down
2 changes: 1 addition & 1 deletion src/ui/pages/RestaurantListPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import { LessLargeTextDiv, Span } from '../../elements/textElements';
import { RoundedButton } from '../../elements/formElements';
import BootstrapTable from 'react-bootstrap-table-next';
import 'react-bootstrap-table-next/dist/react-bootstrap-table2.min.css';

a
export const RestaurantListPage = () => {

const dispatch = useDispatch();
Expand Down

0 comments on commit b5afedd

Please sign in to comment.