{message}
, - }; - return toast; - }); - -const makeMapStateToProps = () => { - const getErrorSelector = appSelectors.errorsSelector(); - return (state: State) => getErrorSelector(state); -}; - -export const ErrorToast = connect( - makeMapStateToProps, - { - removeError: appActions.removeError, - } -)(ErrorToastComponent); diff --git a/x-pack/legacy/plugins/siem/public/components/error_toast_dispatcher/__snapshots__/index.test.tsx.snap b/x-pack/legacy/plugins/siem/public/components/error_toast_dispatcher/__snapshots__/index.test.tsx.snap new file mode 100644 index 000000000000..d90a337bbeed --- /dev/null +++ b/x-pack/legacy/plugins/siem/public/components/error_toast_dispatcher/__snapshots__/index.test.tsx.snap @@ -0,0 +1,7 @@ +// Jest Snapshot v1, https://goo.gl/fbAQLP + +exports[`Error Toast Dispatcher rendering it renders 1`] = ` +{i18n.DESCRIPTION}
-{i18n.DESCRIPTION}
+