Skip to content

Commit

Permalink
fix: re-upload file
Browse files Browse the repository at this point in the history
  • Loading branch information
wnmay committed Oct 21, 2024
1 parent ea7706f commit 9d8630d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ const UploadPaymentBlock: React.FC<UploadPaymentBlockProps> = ({ paymentStatus,
{errorMessage.current}
</Typography>
)}
<Button variant="outlined" component="label" className={classes.button} disabled={isUpload}>
<Button variant="outlined" component="label" className={classes.button}>
{status === "EMPTY" ? "อัปโหลดหลักฐานการชำระเงิน" : "อัปโหลดอีกครั้ง"}
<input type="file" name="payment" hidden accept="image/jpeg, image/png" onChange={uploadFile} />
</Button>
Expand Down

0 comments on commit 9d8630d

Please sign in to comment.