diff --git a/src/components/MobileMenu/MobileMenu.js b/src/components/MobileMenu/MobileMenu.js index ddac8ba8..1d729a7c 100644 --- a/src/components/MobileMenu/MobileMenu.js +++ b/src/components/MobileMenu/MobileMenu.js @@ -32,7 +32,7 @@ const MobileMenu = props => { } const inboxLink = ( - + ); diff --git a/src/containers/OrderPage/OrderPage.js b/src/containers/OrderPage/OrderPage.js index 51ad52d3..6df2a3e5 100644 --- a/src/containers/OrderPage/OrderPage.js +++ b/src/containers/OrderPage/OrderPage.js @@ -28,7 +28,7 @@ export const OrderPageComponent = props => { if (isDataAvailable && !isOwnSale) { // eslint-disable-next-line no-console console.error('Tried to access an order that was not owned by the current user'); - return ; + return ; } const detailsProps = { diff --git a/src/containers/SalePage/SalePage.js b/src/containers/SalePage/SalePage.js index 7b054555..4fdbc23b 100644 --- a/src/containers/SalePage/SalePage.js +++ b/src/containers/SalePage/SalePage.js @@ -37,7 +37,7 @@ export const SalePageComponent = props => { if (isDataAvailable && !isOwnSale) { // eslint-disable-next-line no-console console.error('Tried to access a sale that was not owned by the current user'); - return ; + return ; } const detailsProps = { diff --git a/src/routesConfiguration.js b/src/routesConfiguration.js index c60fb02b..ff314d27 100644 --- a/src/routesConfiguration.js +++ b/src/routesConfiguration.js @@ -158,22 +158,14 @@ const routesConfiguration = [ auth: true, exact: true, name: 'InboxBasePage', - component: () => , + component: () => , }, { - path: '/inbox/sales', + path: '/inbox/:tab', auth: true, exact: true, - name: 'InboxSalesPage', - component: props => , - loadData: (params, search) => InboxPage.loadData(params, search), - }, - { - path: '/inbox/orders', - auth: true, - exact: true, - name: 'InboxOrdersPage', - component: props => , + name: 'InboxPage', + component: props => , loadData: (params, search) => InboxPage.loadData(params, search), }, {