diff --git a/src/attributes/components/AttributeListPage/AttributeListPage.tsx b/src/attributes/components/AttributeListPage/AttributeListPage.tsx index df735bd07..477cfff96 100644 --- a/src/attributes/components/AttributeListPage/AttributeListPage.tsx +++ b/src/attributes/components/AttributeListPage/AttributeListPage.tsx @@ -1,9 +1,9 @@ import Button from "@material-ui/core/Button"; import Card from "@material-ui/core/Card"; - import React from "react"; import { FormattedMessage, useIntl } from "react-intl"; +import AppHeader from "@saleor/components/AppHeader"; import SearchBar from "@saleor/components/SearchBar"; import { sectionNames } from "@saleor/intl"; import Container from "../../../components/Container"; @@ -23,10 +23,12 @@ export interface AttributeListPageProps SearchPageProps, TabPageProps { attributes: AttributeList_attributes_edges_node[]; + onBack: () => void; } const AttributeListPage: React.FC = ({ onAdd, + onBack, initialSearch, onSearchChange, currentTab, @@ -41,6 +43,9 @@ const AttributeListPage: React.FC = ({ return ( + + +