Browse Source

CI

gre-patch-1
Juan Cortes Ross 6 years ago
parent
commit
2b8fdcbdd6
No known key found for this signature in database GPG Key ID: 34A99C03E9455EB8
  1. 19
      src/components/HSMStatusBanner.js

19
src/components/HSMStatusBanner.js

@ -13,8 +13,7 @@ import IconExclamationCircle from 'icons/ExclamationCircle'
import IconChevronRight from 'icons/ChevronRight' import IconChevronRight from 'icons/ChevronRight'
import Box from 'components/base/Box' 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` const CloseIconContainer = styled.div`
position: absolute; position: absolute;
@ -58,14 +57,14 @@ class HSMStatusBanner extends PureComponent<Props, State> {
this.setState({ this.setState({
pendingMessages: [ pendingMessages: [
{ {
id: "mock1", id: 'mock1',
message: "Lorem Ipsum dolor sit amet #1" message: 'Lorem Ipsum dolor sit amet #1',
}, },
{ {
id: "mock2", id: 'mock2',
message: "Lorem Ipsum dolor sit amet #2" message: 'Lorem Ipsum dolor sit amet #2',
} },
] ],
}) })
} }
@ -173,8 +172,8 @@ const styles = {
width: 350, width: 350,
}, },
message: { message: {
marginTop: -3 marginTop: -3,
} },
} }
export default translate()(HSMStatusBanner) export default translate()(HSMStatusBanner)

Loading…
Cancel
Save