From 84c822a0ca0b6f02ba9e72b1f0c0506fe9fe2ecc Mon Sep 17 00:00:00 2001
From: M Sai Kiran <116418856+MSaiKiran9@users.noreply.github.com>
Date: Wed, 11 Oct 2023 09:38:15 +0530
Subject: [PATCH 1/4] Before File Selection Train Button Disabled
---
frontend/src/upload/Upload.tsx | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
diff --git a/frontend/src/upload/Upload.tsx b/frontend/src/upload/Upload.tsx
index 755a9ad43..db2136ec4 100644
--- a/frontend/src/upload/Upload.tsx
+++ b/frontend/src/upload/Upload.tsx
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, { useRef } from 'react';
import { useCallback, useEffect, useState } from 'react';
import { useDropzone } from 'react-dropzone';
import { useDispatch } from 'react-redux';
@@ -55,9 +55,8 @@ export default function Upload({
setProgress(undefined);
setModalState('INACTIVE');
}}
- className={`rounded-3xl bg-purple-30 px-4 py-2 text-sm font-medium text-white ${
- isCancellable ? '' : 'hidden'
- }`}
+ className={`rounded-3xl bg-purple-30 px-4 py-2 text-sm font-medium text-white ${isCancellable ? '' : 'hidden'
+ }`}
>
Finish
@@ -189,6 +188,7 @@ export default function Upload({
Name
+
*
Choose Files
@@ -206,7 +206,9 @@ export default function Upload({
@@ -227,9 +229,8 @@ export default function Upload({
return (
{view}
From 76baa6c5f85baff064b7212deeed94ce87d215b3 Mon Sep 17 00:00:00 2001
From: M Sai Kiran <116418856+MSaiKiran9@users.noreply.github.com>
Date: Wed, 11 Oct 2023 09:39:04 +0530
Subject: [PATCH 2/4] Before File Selection Train Disabled 1
---
frontend/src/upload/Upload.tsx | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/frontend/src/upload/Upload.tsx b/frontend/src/upload/Upload.tsx
index db2136ec4..b79e89231 100644
--- a/frontend/src/upload/Upload.tsx
+++ b/frontend/src/upload/Upload.tsx
@@ -1,4 +1,4 @@
-import React, { useRef } from 'react';
+import React from 'react';
import { useCallback, useEffect, useState } from 'react';
import { useDropzone } from 'react-dropzone';
import { useDispatch } from 'react-redux';
From b5d6f0ad36e75992b30474aaeeb2242cf1eb8aee Mon Sep 17 00:00:00 2001
From: M Sai Kiran <116418856+MSaiKiran9@users.noreply.github.com>
Date: Thu, 12 Oct 2023 15:07:48 +0530
Subject: [PATCH 3/4] Update Upload.tsx
---
frontend/src/upload/Upload.tsx | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/frontend/src/upload/Upload.tsx b/frontend/src/upload/Upload.tsx
index b79e89231..34534f774 100644
--- a/frontend/src/upload/Upload.tsx
+++ b/frontend/src/upload/Upload.tsx
@@ -1,4 +1,4 @@
-import React from 'react';
+import React, { useRef } from 'react';
import { useCallback, useEffect, useState } from 'react';
import { useDropzone } from 'react-dropzone';
import { useDispatch } from 'react-redux';
@@ -188,7 +188,6 @@ export default function Upload({
Name
-
*
Choose Files
@@ -206,7 +205,7 @@ export default function Upload({