gomtm 0.0.335 → 0.0.336
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use client";
|
|
@@ -7,7 +7,7 @@ import { buttonVariants } from "mtxuilib/ui/button";
|
|
|
7
7
|
import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from "mtxuilib/ui/card";
|
|
8
8
|
import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger } from "mtxuilib/ui/dropdown-menu";
|
|
9
9
|
import { title } from "process";
|
|
10
|
-
import { useState } from "react";
|
|
10
|
+
import { Suspense, useState } from "react";
|
|
11
11
|
import { MtDateView } from "../../components/MtDate";
|
|
12
12
|
import Tag from "../../components/Tag";
|
|
13
13
|
import { ListViewLayout } from "../../gomtmpb/mtm/sppb/mtm_pb";
|
|
@@ -123,7 +123,7 @@ const PostCardListItem = (props) => {
|
|
|
123
123
|
) })
|
|
124
124
|
] })
|
|
125
125
|
] }),
|
|
126
|
-
/* @__PURE__ */ jsx("div", { className: "absolute bottom-2 right-0", children: isLogined && /* @__PURE__ */ jsx(PostCardItemActions, { id: item.id }) })
|
|
126
|
+
/* @__PURE__ */ jsx("div", { className: "absolute bottom-2 right-0", children: isLogined && /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(PostCardItemActions, { id: item.id }) }) })
|
|
127
127
|
] })
|
|
128
128
|
}
|
|
129
129
|
);
|
|
@@ -162,7 +162,7 @@ const PostCardListItem = (props) => {
|
|
|
162
162
|
] }) }),
|
|
163
163
|
/* @__PURE__ */ jsxs(CardFooter, { className: "flex justify-end", children: [
|
|
164
164
|
/* @__PURE__ */ jsx(MtLink, { variant: "ghost", href: `${slugPath}/${item.id}`, children: "Show" }),
|
|
165
|
-
isLogined && /* @__PURE__ */ jsx(PostCardItemActions, { id: item.id })
|
|
165
|
+
isLogined && /* @__PURE__ */ jsx(Suspense, { children: /* @__PURE__ */ jsx(PostCardItemActions, { id: item.id }) })
|
|
166
166
|
] })
|
|
167
167
|
]
|
|
168
168
|
}
|