Skip to content

Commit

Permalink
add preloader to edit endpoint page
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanzusko committed Sep 13, 2017
1 parent 6c81bc4 commit a1ae6ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/pages/EditPage/ApiItem.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import PropTypes from 'prop-types';
import transformFormValues from '../../../helpers/transformFormValues';

import EditApiForm from './EditApiForm';
import Preloader from '../../Preloader/Preloader';

const propTypes = {
api: PropTypes.object.isRequired,
Expand Down Expand Up @@ -72,7 +73,7 @@ class ApiItem extends Component {
);
}

return <div>Loading...</div>;
return <Preloader />;
}
}

Expand Down

0 comments on commit a1ae6ad

Please sign in to comment.