Sha256: ae90a856f20eb1ecb4e817bdbe317c73e35a4c513f65d7d6363f90163b795a2f

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

import React from 'react';
import { useDispatch } from 'react-redux';

import { showToast } from '../../../helpers/toastsHelper';
import OvalPoliciesNew from './OvalPoliciesNew';

const WrappedOvalPoliciesNew = props => (
  <OvalPoliciesNew {...props} showToast={showToast(useDispatch())} />
);

export default WrappedOvalPoliciesNew;

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
foreman_openscap-5.1.1 webpack/routes/OvalPolicies/OvalPoliciesNew/index.js
foreman_openscap-5.2.0 webpack/routes/OvalPolicies/OvalPoliciesNew/index.js