Refactor vendor screen to use query strings BOD-125

This commit is contained in:
Patrick Fic
2020-05-15 09:42:11 -07:00
parent ef96186dfb
commit 476a855934
5 changed files with 81 additions and 80 deletions

View File

@@ -1,4 +1,4 @@
import React, { useEffect, useState } from "react";
import React, { useEffect } from "react";
import { useTranslation } from "react-i18next";
import ShopVendorPageComponent from "./shop-vendor.page.component";
@@ -7,12 +7,6 @@ export default function ShopVendorPageContainer() {
useEffect(() => {
document.title = t("titles.shop_vendors");
}, [t]);
const fetchState = useState();
const selectedVendorState = useState();
return (
<ShopVendorPageComponent
selectedVendorState={selectedVendorState}
fetchState={fetchState}
/>
);
return <ShopVendorPageComponent />;
}