summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--packages/enterprise/src/routes/share/[shareID].tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/enterprise/src/routes/share/[shareID].tsx b/packages/enterprise/src/routes/share/[shareID].tsx
index ec675a38d..1dae09c22 100644
--- a/packages/enterprise/src/routes/share/[shareID].tsx
+++ b/packages/enterprise/src/routes/share/[shareID].tsx
@@ -141,7 +141,10 @@ export default function () {
const data = createAsync(
async () => {
if (!params.shareID) throw new Error("Missing shareID")
- return getData(params.shareID)
+ const now = Date.now()
+ const data = getData(params.shareID)
+ console.log("getData", Date.now() - now)
+ return data
},
{
deferStream: true,