ProfileStatus: hide 'success!' until needed

This commit is contained in:
Matilde Park 2021-02-11 14:35:17 -05:00
parent cd370224d5
commit 8030f0e369

View File

@ -60,7 +60,7 @@ export const ProfileStatus = (props) => {
}}
/>
</Row>
<Text mt={1} ml={1} whiteSpace="pre" gray>{notice}</Text>
<Text display={notice !== ' ' ? 'block' : 'none'} mt={1} ml={1} whiteSpace="pre" gray>{notice}</Text>
</>
);
};