diff --git a/src/front/Components/Layouts/Rib/classes.module.scss b/src/front/Components/Layouts/Rib/classes.module.scss index efb7ade1..7e980200 100644 --- a/src/front/Components/Layouts/Rib/classes.module.scss +++ b/src/front/Components/Layouts/Rib/classes.module.scss @@ -31,6 +31,10 @@ margin: auto; flex: 1; } + + .button-deposit { + align-items: center; + } } .footer { diff --git a/src/front/Components/Layouts/Rib/index.tsx b/src/front/Components/Layouts/Rib/index.tsx index 7f6d93cc..df6fdaeb 100644 --- a/src/front/Components/Layouts/Rib/index.tsx +++ b/src/front/Components/Layouts/Rib/index.tsx @@ -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,15 +99,18 @@ export default function Rib() { {!fileBlob && (
-
+
Aucun RIB n'a été déposé pour cet office
-
-
- -
+
+ )} + + {!fileBlob && ( +
+
+
)}