Fixes
This commit is contained in:
parent
601e33e43d
commit
c2910432e3
@ -31,6 +31,10 @@
|
||||
margin: auto;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.button-deposit {
|
||||
align-items: center;
|
||||
}
|
||||
}
|
||||
|
||||
.footer {
|
||||
|
@ -29,9 +29,9 @@ export default function Rib() {
|
||||
setKey(key);
|
||||
setFileName(blob.fileName);
|
||||
} catch (error) {
|
||||
// setFileBlob(undefined);
|
||||
// setFileName("");
|
||||
// setKey("");
|
||||
setFileBlob(undefined);
|
||||
setFileName("");
|
||||
setKey("");
|
||||
}
|
||||
}, [officeUid]);
|
||||
|
||||
@ -99,17 +99,20 @@ export default function Rib() {
|
||||
|
||||
{!fileBlob && (
|
||||
<div className={classes["document-container"]}>
|
||||
<div className={classes["file-container"]}>
|
||||
<div>
|
||||
<Typography typo={ITypo.P_18} color={ITypoColor.GREY}>
|
||||
Aucun RIB n'a été déposé pour cet office
|
||||
</Typography>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{!fileBlob && (
|
||||
<div className={classes["footer"]}>
|
||||
<div className={classes["buttons-container"]}>
|
||||
<Button onClick={openRibModal}>Déposer un RIB</Button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{fileBlob && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user