Skip to content

Commit

Permalink
More cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
ShephardLuke committed Nov 28, 2024
1 parent 771f9b4 commit d39cd22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/view/databaseDisplay.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit d39cd22

Please sign in to comment.