Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix imports
dominik-zeglenaeb8d9ce8185
diff --git a/saleor/static/dashboard-next/home/components/HomeActivityCard/HomeActivityCard.tsx b/saleor/static/dashboard-next/home/components/HomeActivityCard/HomeActivityCard.tsxindex 47964c9a74..3d8b0b89db 100644--- a/saleor/static/dashboard-next/home/components/HomeActivityCard/HomeActivityCard.tsx+++ b/saleor/static/dashboard-next/home/components/HomeActivityCard/HomeActivityCard.tsx@@ -11,7 +11,7 @@ import DateFormatter from "../../../components/DateFormatter";import Skeleton from "../../../components/Skeleton";import i18n from "../../../i18n";import { renderCollection } from "../../../misc";-import { Home_activities_edges_node } from "../../types/home";+import { Home_activities_edges_node } from "../../types/Home";import { getActivityMessage } from "./activityMessages";interface HomeProductListCardProps {diff --git a/saleor/static/dashboard-next/home/components/HomeActivityCard/activityMessages.ts b/saleor/static/dashboard-next/home/components/HomeActivityCard/activityMessages.tsindex 29c21bdd25..57f72c7456 100644--- a/saleor/static/dashboard-next/home/components/HomeActivityCard/activityMessages.ts+++ b/saleor/static/dashboard-next/home/components/HomeActivityCard/activityMessages.ts@@ -1,6 +1,6 @@import i18n from "../../../i18n";import { OrderEvents } from "../../../types/globalTypes";-import { Home_activities_edges_node } from "../../types/home";+import { Home_activities_edges_node } from "../../types/Home";export const getActivityMessage = (activity: Home_activities_edges_node) => {switch (activity.type) {diff --git a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsxindex 4365dd4902..41878282da 100644--- a/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx+++ b/saleor/static/dashboard-next/home/components/HomePage/HomePage.tsx@@ -12,7 +12,7 @@ import {Home_activities_edges_node,Home_productTopToday_edges_node,Home_salesToday_gross-} from "../../types/home";+} from "../../types/Home";import HomeActivityCard from "../HomeActivityCard";import HomeAnalyticsCard from "../HomeAnalyticsCard";import HomeHeader from "../HomeHeader";diff --git a/saleor/static/dashboard-next/home/components/HomeProductListCard/HomeProductListCard.tsx b/saleor/static/dashboard-next/home/components/HomeProductListCard/HomeProductListCard.tsxindex f6c677fd1d..2e46cd8839 100644--- a/saleor/static/dashboard-next/home/components/HomeProductListCard/HomeProductListCard.tsx+++ b/saleor/static/dashboard-next/home/components/HomeProductListCard/HomeProductListCard.tsx@@ -14,7 +14,7 @@ import Skeleton from "../../../components/Skeleton";import TableCellAvatar from "../../../components/TableCellAvatar";import i18n from "../../../i18n";import { maybe, renderCollection } from "../../../misc";-import { Home_productTopToday_edges_node } from "../../types/home";+import { Home_productTopToday_edges_node } from "../../types/Home";interface HomeProductListProps {topProducts: Home_productTopToday_edges_node[];diff --git a/saleor/static/dashboard-next/home/fixtures.ts b/saleor/static/dashboard-next/home/fixtures.tsindex 7d1853ad27..0208cd512b 100644--- a/saleor/static/dashboard-next/home/fixtures.ts+++ b/saleor/static/dashboard-next/home/fixtures.ts@@ -1,5 +1,5 @@import { OrderEvents } from "../types/globalTypes";-import { Home } from "./types/home";+import { Home } from "./types/Home";export const shop: (placeholderImage: string) => Home = (placeholderImage: string