- Added RequestReturnDialog component for initiating return requests. - Enhanced OrderDetailPageView to handle return requests and display order timeline. - Updated OrderActions to include return request button based on order status. - Introduced OrderTimeline component to visualize order events. - Modified order-related types and constants to support return functionality. - Updated UI components for better styling and user experience. This commit improves the order management system by allowing users to request returns and view the timeline of their orders.
13 lines
307 B
TypeScript
13 lines
307 B
TypeScript
import { Suspense } from "react";
|
|
import { ShopProductGridSkeleton } from "@/components/shop/state/ShopProductGridSkeleton";
|
|
|
|
export default function ShopLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
return (
|
|
<Suspense fallback={<ShopProductGridSkeleton />}>{children}</Suspense>
|
|
);
|
|
}
|