From 454fd18fb0cac7e3ec2a435dd97ca245c0701907 Mon Sep 17 00:00:00 2001 From: Jandson Vitorino Date: Wed, 29 Nov 2023 14:58:54 -0300 Subject: [PATCH] I implemented an arrow to make it easier to return to the previous page and improved the visibility of the refresh button, making it more prominent. --- frontend/pages/product/edit/[pid].js | 30 +++++++++++++++++++++++++--- 1 file changed, 27 insertions(+), 3 deletions(-) diff --git a/frontend/pages/product/edit/[pid].js b/frontend/pages/product/edit/[pid].js index bcd2e67..0659575 100644 --- a/frontend/pages/product/edit/[pid].js +++ b/frontend/pages/product/edit/[pid].js @@ -1,5 +1,6 @@ import UploadIcon from '@mui/icons-material/Upload' import VerifiedIcon from '@mui/icons-material/Verified' +import ArrowBackIosIcon from '@mui/icons-material/ArrowBackIos' import Alert from '@mui/material/Alert' import Box from '@mui/material/Box' @@ -184,8 +185,29 @@ export default function EditProduct() { {isLoading && } - - Edit Product + + + { + router.back() + }} + sx={{ cursor: 'pointer' }} + /> + Edit Product +