mirror of
https://github.com/Unleash/unleash.git
synced 2025-06-18 01:18:23 +02:00
15 lines
395 B
JavaScript
15 lines
395 B
JavaScript
import React from 'react';
|
|
import AddonForm from '../../component/addons/form-addon-container';
|
|
import PropTypes from 'prop-types';
|
|
|
|
const render = ({ match: { params }, history }) => (
|
|
<AddonForm addonId={params.id} title="Edit addon" history={history} />
|
|
);
|
|
|
|
render.propTypes = {
|
|
match: PropTypes.object.isRequired,
|
|
history: PropTypes.object.isRequired,
|
|
};
|
|
|
|
export default render;
|