diff --git a/web/modals/chat/failed-send.react.js b/web/modals/chat/failed-send.react.js new file mode 100644 index 000000000..b7b146ea3 --- /dev/null +++ b/web/modals/chat/failed-send.react.js @@ -0,0 +1,24 @@ +// @flow + +import * as React from 'react'; + +import css from '../../style.css'; +import Modal from '../modal.react'; + +type Props = {| + +setModal: (modal: ?React.Node) => void, +|}; + +function FailedSendModal({ setModal }: Props) { + const clearModal = React.useCallback(() => setModal(null), [setModal]); + + return ( + +
+

Something went wrong while sending the message. Please try again.

+
+
+ ); +} + +export default FailedSendModal;