Skip to content

Commit

Permalink
Organing component imports
Browse files Browse the repository at this point in the history
  • Loading branch information
craigtweedy committed Mar 7, 2021
1 parent 405df88 commit 4f53c19
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/product/listing/ProductListing.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import Commerce from "@chec/commerce.js";
import { IonCol, IonGrid, IonRow, IonToast } from "@ionic/react";
import { useMemo, useState } from "react";
import { useLoader } from "../../../context/loading";
import ProductCard from "../product-card/ProductCard";
import ProductDescription from "./description/ProductDescription";
import "./ProductListing.css";
import Commerce from "@chec/commerce.js";
import { useLoader } from "../../../context/loading";

interface ProductListingProps {
product: any;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {
IonSelect,
IonSelectOption,
} from "@ionic/react";

import "./ProductDescription.css";

interface ProductDescriptionProps {
Expand Down
2 changes: 1 addition & 1 deletion src/context/loading.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { createContext, useState, useContext } from "react";
import { createContext, useContext, useState } from "react";

const LoadingContext = createContext({
loadingCount: 0,
Expand Down

0 comments on commit 4f53c19

Please sign in to comment.