diff --git a/components/FormContainer.tsx b/components/FormContainer.tsx index 076ae19..99ff53a 100644 --- a/components/FormContainer.tsx +++ b/components/FormContainer.tsx @@ -1,6 +1,6 @@ "use client"; import InputForm from "@/components/InputForm"; -import DataDisplay from "@/components/DataDisplay"; +import DataDisplay from "@/components/ResultTable"; import useCreateApp from "@/hooks/useCreateApp"; const FormContainer = () => { diff --git a/components/DataDisplay.tsx b/components/ResultTable.tsx similarity index 89% rename from components/DataDisplay.tsx rename to components/ResultTable.tsx index db9f277..096a62c 100644 --- a/components/DataDisplay.tsx +++ b/components/ResultTable.tsx @@ -13,11 +13,11 @@ import { AppEntry } from "@/lib/types"; import { CopyButton } from "./ui/copybutton"; const renderTableRow = (label: string, value: string | undefined) => ( - + {label} - - {value} - {value && } + + {value} + {value && } );