From 330cf3fda4011c37af5e4fb60d4a0c9bdba03fcb Mon Sep 17 00:00:00 2001 From: droniu Date: Fri, 12 Jul 2024 15:57:01 +0200 Subject: [PATCH] Fix paths --- src/components/Navigation.tsx | 2 +- src/pages/app/checkout.tsx | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index 21ccda7..d67a3a2 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -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", diff --git a/src/pages/app/checkout.tsx b/src/pages/app/checkout.tsx index 806e6de..a230559 100644 --- a/src/pages/app/checkout.tsx +++ b/src/pages/app/checkout.tsx @@ -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({ @@ -79,8 +76,6 @@ const CheckoutPage = () => { ); }; - console.log(response); - return ( <>