import { parse as parseQs } from "qs"; import React from "react"; import { useIntl } from "react-intl"; import { Route, RouteComponentProps, Switch } from "react-router-dom"; import { sectionNames } from "@saleor/intl"; import { WindowTitle } from "../components/WindowTitle"; import { serviceListPath, ServiceListUrlQueryParams // servicePath } from "./urls"; // import ServiceDetailsComponent from "./views/ServiceDetails"; import ServiceListComponent from "./views/ServiceList"; const PluginList: React.StatelessComponent> = ({ location }) => { const qs = parseQs(location.search.substr(1)); const params: ServiceListUrlQueryParams = qs; return ; }; // const ServiceDetails: React.StatelessComponent> = ({ // match // }) => { // const qs = parseQs(location.search.substr(1)); // const params: ServiceListUrlQueryParams = qs; // return ( // // ); // }; const Component = () => { const intl = useIntl(); return ( <> {/* */} ); }; export default Component;