From 3968e92069a611ae71a662e0cf3938f54632a844 Mon Sep 17 00:00:00 2001 From: Iswar Date: Mon, 20 Feb 2023 01:34:58 +0530 Subject: [PATCH] Issue #27 --- src/lib/components/SubmitReview.svelte | 38 +++++++++++++------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/src/lib/components/SubmitReview.svelte b/src/lib/components/SubmitReview.svelte index 43177b7a2..41ddfaa9b 100644 --- a/src/lib/components/SubmitReview.svelte +++ b/src/lib/components/SubmitReview.svelte @@ -37,20 +37,20 @@ siteSafety: siteSafety ?? '' }; - let CID = await storeMetaData(metaData); - let metaDataUri = `ipfs://${CID}`.split(',')[0]; + // let CID = await storeMetaData(metaData); + // let metaDataUri = `ipfs://${CID}`.split(',')[0]; - let reviewData = { - category: category ?? '', - domainAddress: domainAddress ?? '', - siteUrl: websiteUrl ?? '', - siteType: siteType ?? '', - siteTag: siteTag ?? '', - siteSafety: siteSafety ?? '', - metaDataUri, - voter: $walletAddress - }; - let [response, error] = await createReview(reviewData); + // let reviewData = { + // category: category ?? '', + // domainAddress: domainAddress ?? '', + // siteUrl: websiteUrl ?? '', + // siteType: siteType ?? '', + // siteTag: siteTag ?? '', + // siteSafety: siteSafety ?? '', + // metaDataUri, + // voter: $walletAddress + // }; + // let [response, error] = await createReview(reviewData); isLoading = false; showModal = false; @@ -99,7 +99,7 @@ placeholder="TITLE" class="input input-bordered input-success dark:bg-gray-900 dark:text-white dark:border-zinc-600 input-md w-full max-w-xs" bind:value={title} - required={true} + required />

DESCRIPTION

@@ -107,13 +107,13 @@ placeholder="DESCRIPTION" class="textarea textarea-success dark:bg-gray-900 dark:text-white dark:border-zinc-600 input-md w-full max-w-xs" bind:value={description} - required={true} + required />

CATEGORY

@@ -139,7 +139,7 @@

SITE TAG