Skip to content

Commit b63bd09

Browse files
committed
Revert "fix(test): disable export feature temporarily"
This reverts commit 497cbde.
1 parent 497cbde commit b63bd09

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/lib/server/api/routes/groups/misc.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,8 +109,6 @@ export const misc = new Elysia()
109109
}
110110
})
111111
.get("/export", async ({ locals }) => {
112-
throw new Error("Disabled temporarily");
113-
114112
if (!locals.user) {
115113
throw new Error("Not logged in");
116114
}

src/routes/closed/+page.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
<span class="text-nowrap">please stay tuned...</span>
9999
</p>
100100

101-
<!-- <div class="mt-6 flex flex-col items-center space-y-4 text-center">
101+
<div class="mt-6 flex flex-col items-center space-y-4 text-center">
102102
{#if data.nextExport !== Infinity}
103103
{#if seconds <= 0}
104104
<button
@@ -143,7 +143,7 @@
143143
</a>
144144
<p class="text-sm text-gray-500 dark:text-gray-400">to export your existing data.</p>
145145
{/if}
146-
</div> -->
146+
</div>
147147
<a
148148
class="mt-10"
149149
href="https://huggingface.co/spaces/huggingchat/chat-ui/discussions/747"

0 commit comments

Comments
 (0)