Fakultas Ilmu Komputer UI

Commit 9abbe9eb authored by Wan Muhammad Rayhan Arwindra's avatar Wan Muhammad Rayhan Arwindra 🤸🏽
Browse files

Pbi 6 ray

parent 48bb538d
...@@ -30,10 +30,10 @@ const DetailProgram = ({ idProgram }) => { ...@@ -30,10 +30,10 @@ const DetailProgram = ({ idProgram }) => {
const [openModal, setOpenModal] = useState(false); const [openModal, setOpenModal] = useState(false);
const handleClose = () => setOpenModal(false); const handleClose = () => setOpenModal(false);
const [dialogOpen, setDialogOpen] = useState(false); const [dialogOpen, setDialogOpen] = useState(false);
let image; const [image, setImage] = useState("");
const handleClickOpen = (img) => { const handleClickOpen = (img) => {
image = img; setImage(img);
setDialogOpen(true); setDialogOpen(true);
}; };
...@@ -428,7 +428,7 @@ const DetailProgram = ({ idProgram }) => { ...@@ -428,7 +428,7 @@ const DetailProgram = ({ idProgram }) => {
onClose={handleClickClose} onClose={handleClickClose}
aria-labelledby="max-width-dialog-title" aria-labelledby="max-width-dialog-title"
> >
<DialogTitle id="max-width-dialog-title">Bukti Transfer</DialogTitle> <DialogTitle id="max-width-dialog-title">Gambar Progress</DialogTitle>
<DialogContent> <DialogContent>
<img <img
css={css` css={css`
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment