Skip to content

Commit

Permalink
Fix paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Droniu committed Jul 12, 2024
1 parent babfe76 commit 330cf3f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Box, ConfigurationIcon, HomeIcon, OrdersIcon, SellsIcon } from "@saleor
import { NavigationTile } from "./NavigationTile";

export const ROUTES = {
dashboard: "/app/dashboard",
dashboard: "/app/",
checkout: "/app/checkout",
transactions: "/app/transactions",
configuration: "/app/configuration",
Expand Down
5 changes: 0 additions & 5 deletions src/pages/app/checkout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,8 @@ const CheckoutPage = () => {
label: "CHARGE_SUCCESS",
});

console.log(appBridgeState?.saleorApiUrl);

const [{ data, fetching }] = useProductListQuery();
const [checkoutCreateResult, checkoutCreateExecute] = useCreateCheckoutMutation();
console.log(checkoutCreateResult);

const handleExecuteCheckoutCreate = () => {
checkoutCreateExecute({
Expand Down Expand Up @@ -79,8 +76,6 @@ const CheckoutPage = () => {
);
};

console.log(response);

return (
<>
<Box display="flex" flexDirection="column" alignItems="center" gap={4}>
Expand Down

0 comments on commit 330cf3f

Please sign in to comment.