From d39cd22f3e8d52c610e0c3c489ac33e25483d8dc Mon Sep 17 00:00:00 2001 From: shephardluke Date: Thu, 28 Nov 2024 19:57:19 +0000 Subject: [PATCH] More cleanup --- app/view/databaseDisplay.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/view/databaseDisplay.tsx b/app/view/databaseDisplay.tsx index d4fca76..fe40d0b 100644 --- a/app/view/databaseDisplay.tsx +++ b/app/view/databaseDisplay.tsx @@ -6,6 +6,7 @@ import { useSearchParams } from "next/navigation"; import { useEffect, useState } from "react"; import ObjectStore from "./objectStore/objectStoreDisplay"; import ObjectStoreCreation from "./objectStore/objectStoreCreation"; +import { DatabaseIndex } from "./databaseIndex"; export default function DatabaseDisplay() { const searchParams = useSearchParams(); @@ -130,7 +131,7 @@ export default function DatabaseDisplay() { return request } - function newObjectStore(name:string, indexes: DBIndex[], result: (success: boolean, message: string) => void) { // Adds object store to database + function newObjectStore(name:string, indexes: DatabaseIndex[], result: (success: boolean, message: string) => void) { // Adds object store to database if (!foundDatabase) { console.log("no database")