Skip to content

Commit

Permalink
fix use sqlite driver
Browse files Browse the repository at this point in the history
  • Loading branch information
invisal committed Aug 23, 2024
1 parent 2f50acd commit a7a230d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/(theme)/embed/sqlite/page-client.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
"use client";
import { Studio } from "@/components/gui/studio";
import IframeDriver from "@/drivers/iframe-driver";
import { IframeSQLiteDriver } from "@/drivers/iframe-driver";
import { useSearchParams } from "next/navigation";
import { useEffect, useMemo } from "react";

export default function EmbedPageClient() {
const searchParams = useSearchParams();
const driver = useMemo(() => new IframeDriver(), []);
const driver = useMemo(() => new IframeSQLiteDriver(), []);

useEffect(() => {
return driver.listen();
Expand Down

0 comments on commit a7a230d

Please sign in to comment.