import { useLoaderData } from "react-router-dom";
import SearchBar from "../../components/search_bar";
import MainContentLayout from "../../components/main_content_layout";

export default function Products() {
  const products = useLoaderData();
  console.log(products);

  return(
    <>
      <MainContentLayout>
        <SearchBar path="/products"/>
      </MainContentLayout>
    </>
  );
}