Remove unused Cancel button in ImageUploader component
The Cancel button was commented out as it is no longer needed. This simplifies the UI and reduces potential confusion for users. Future iterations can reintroduce it if necessary functionality is added.
This commit is contained in:
@@ -206,14 +206,14 @@ export function ImageUploader({
|
||||
</>
|
||||
)}
|
||||
</Button>
|
||||
<Button
|
||||
type="button"
|
||||
variant="outline"
|
||||
onClick={handleClear}
|
||||
disabled={isUploading}
|
||||
>
|
||||
Cancel
|
||||
</Button>
|
||||
{/*<Button*/}
|
||||
{/* type="button"*/}
|
||||
{/* variant="outline"*/}
|
||||
{/* onClick={handleClear}*/}
|
||||
{/* disabled={isUploading}*/}
|
||||
{/*>*/}
|
||||
{/* Cancel*/}
|
||||
{/*</Button>*/}
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user