-
-
+
+ {inViewport && }
+
+
+ >
+}
-
+/**
+ * @author Aloento
+ * @since 1.3.5
+ * @version 0.1.0
+ */
+function DeferredBody({ OrderId, ParentLog }: { OrderId: number } & ICompLog) {
+ const style = useStyles();
+ const { Nav } = useRouter();
+
+ const { data: order, run: runOrder } = useRequest(() => Hub.Order.Get.Order(OrderId), {
+ onError(e) {
+ Nav("History");
+ ParentLog.error(e);
+ },
+ manual: true
+ });
-
+ const { data: cart, run: runItems, loading } = Hub.Order.Get.useItems(OrderId, ParentLog);
-
+ const run = () => {
+ runItems();
+ runOrder();
+ };
-
-
-
-
- >
+ return (
+