diff --git a/packages/cp-frontend/src/components/messaging/error.js b/packages/cp-frontend/src/components/messaging/error.js index 08652c02..5323ff63 100644 --- a/packages/cp-frontend/src/components/messaging/error.js +++ b/packages/cp-frontend/src/components/messaging/error.js @@ -1,17 +1,19 @@ import React from 'react'; import PropTypes from 'prop-types'; +import { Message } from 'joyent-ui-toolkit'; -import { P } from 'joyent-ui-toolkit'; - -const ErrorMessage = ({ message = "Ooops, there's been an error!!!" }) => { - return ( -
- {message} -
- ); -}; +const ErrorMessage = ({ + title, + message = 'Ooops, there\'s been an error' +}) => +