From fa4b131b1ccf4c8b96f8bbb07f2f736ebee716e6 Mon Sep 17 00:00:00 2001 From: CahidArda Date: Wed, 16 Oct 2024 13:49:50 +0300 Subject: [PATCH] fix: make ids fixed and disable editing data this change was made as the example app will be public. --- examples/nextjs/src/app/components/upload.tsx | 38 +------------------ 1 file changed, 2 insertions(+), 36 deletions(-) diff --git a/examples/nextjs/src/app/components/upload.tsx b/examples/nextjs/src/app/components/upload.tsx index ce8d63e..6373e23 100644 --- a/examples/nextjs/src/app/components/upload.tsx +++ b/examples/nextjs/src/app/components/upload.tsx @@ -57,35 +57,19 @@ export default function UploadData() { return (

- We will start by upserting data to the index. Enter your data below and click the Upsert button. + We will start by upserting data to the index.

{inputFields.map((field, index) => (
handleInputChange(index, e)} className="flex-1 p-2 border rounded-md" placeholder={`Input ${index + 1}`} /> -
))} @@ -97,24 +81,6 @@ export default function UploadData() { > Upsert - -
{response.length !== 0 &&