diff --git a/apps/frontend/src/lib/components/blocks/create-table/create-table-sheet.svelte b/apps/frontend/src/lib/components/blocks/create-table/create-table-sheet.svelte index 52c178275..7ba0adabd 100644 --- a/apps/frontend/src/lib/components/blocks/create-table/create-table-sheet.svelte +++ b/apps/frontend/src/lib/components/blocks/create-table/create-table-sheet.svelte @@ -3,9 +3,9 @@ import CreateTable from "./create-table.svelte" import { Button } from "$lib/components/ui/button" import ScrollArea from "$lib/components/ui/scroll-area/scroll-area.svelte" - import { CREATE_RLS_MODAL, CREATE_TABLE_MODAL, closeModal, isModalOpen, toggleModal } from "$lib/store/modal.store" + import { CREATE_TABLE_MODAL, closeModal, isModalOpen } from "$lib/store/modal.store" import { baseId, currentBase } from "$lib/store/base.store" - import { QueryObserver, useIsMutating, useQueryClient } from "@tanstack/svelte-query" + import { useIsMutating } from "@tanstack/svelte-query" import { LoaderCircleIcon } from "lucide-svelte" const isCreating = useIsMutating({ mutationKey: ["createTable"] }) @@ -13,6 +13,8 @@ { if (!open) { closeModal(CREATE_TABLE_MODAL) @@ -35,7 +37,7 @@ - + {:else} @@ -183,6 +183,7 @@