1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-06-18 01:18:23 +02:00
unleash.unleash/frontend/src/page/addons/edit.js
2021-02-05 14:24:22 +01:00

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;