Skip to content

Commit

Permalink
fix build error
Browse files Browse the repository at this point in the history
  • Loading branch information
quick007 committed Nov 15, 2023
1 parent f1295dd commit 5500cad
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
18 changes: 10 additions & 8 deletions fresh.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,17 @@ import unocssPlugin from "@/utils/plugins/unocss.ts";
import { createQueueValueHandler, kvInsightsPlugin } from 'https://deno.land/x/deno_kv_insights@v0.7.0-beta/mod.ts';
import { kv } from "./utils/db/kv.ts";

const kvInsightsQueueValueHandler = createQueueValueHandler();
// const kvInsightsQueueValueHandler = createQueueValueHandler();

kv.listenQueue(async (value: unknown) => {
await kvInsightsQueueValueHandler(value); // execute the kv-insights value handler
// add your code to handle the queue value here
});
// kv.listenQueue(async (value: unknown) => {
// await kvInsightsQueueValueHandler(value); // execute the kv-insights value handler
// // add your code to handle the queue value here
// });

export default defineConfig({
plugins: [unocssPlugin(), kvInsightsPlugin({
kv
})],
plugins: [unocssPlugin(),
//kvInsightsPlugin({
// kv
// })
],
});
1 change: 1 addition & 0 deletions islands/events/viewing/register.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,7 @@ export default function EventRegister({
{page.value == 0 ? (
<>
<SelectShowTime />
{}
<div class="flex flex-col md:flex-row gap-4 [&>label]:grow">
<label class="flex flex-col">
<span class="label-text label-required">First Name</span>
Expand Down

0 comments on commit 5500cad

Please sign in to comment.