Juan Cortes Ross
6 years ago
No known key found for this signature in database
GPG Key ID: 34A99C03E9455EB8
1 changed files with
11 additions and
12 deletions
-
src/components/HSMStatusBanner.js
|
|
@ -13,8 +13,7 @@ import IconExclamationCircle from 'icons/ExclamationCircle' |
|
|
|
import IconChevronRight from 'icons/ChevronRight' |
|
|
|
|
|
|
|
import Box from 'components/base/Box' |
|
|
|
import { from } from 'rxjs' |
|
|
|
import { SHOW_MOCK_HSMWARNINGS } from "../config/constants"; |
|
|
|
import { SHOW_MOCK_HSMWARNINGS } from '../config/constants' |
|
|
|
|
|
|
|
const CloseIconContainer = styled.div` |
|
|
|
position: absolute; |
|
|
@ -58,14 +57,14 @@ class HSMStatusBanner extends PureComponent<Props, State> { |
|
|
|
this.setState({ |
|
|
|
pendingMessages: [ |
|
|
|
{ |
|
|
|
id: "mock1", |
|
|
|
message: "Lorem Ipsum dolor sit amet #1" |
|
|
|
id: 'mock1', |
|
|
|
message: 'Lorem Ipsum dolor sit amet #1', |
|
|
|
}, |
|
|
|
{ |
|
|
|
id: "mock2", |
|
|
|
message: "Lorem Ipsum dolor sit amet #2" |
|
|
|
} |
|
|
|
] |
|
|
|
id: 'mock2', |
|
|
|
message: 'Lorem Ipsum dolor sit amet #2', |
|
|
|
}, |
|
|
|
], |
|
|
|
}) |
|
|
|
} |
|
|
|
|
|
|
@ -173,8 +172,8 @@ const styles = { |
|
|
|
width: 350, |
|
|
|
}, |
|
|
|
message: { |
|
|
|
marginTop: -3 |
|
|
|
} |
|
|
|
marginTop: -3, |
|
|
|
}, |
|
|
|
} |
|
|
|
|
|
|
|
export default translate()(HSMStatusBanner) |
|
|
|