This commit is contained in:
Maxime Renou
2019-03-01 13:07:16 +01:00
parent c603974f3b
commit 04ed8e9fb3
5 changed files with 24 additions and 21 deletions

View File

@@ -1,6 +1,6 @@
import React, {Component} from 'react';
import FormContext from './FormContext';
import {toast} from 'react-toastify';
import {toast, ToastContainer} from 'react-toastify';
export default class Form extends Component
{
@@ -38,6 +38,7 @@ export default class Form extends Component
{this.renderError()}
{this.props.children}
</form>
<ToastContainer />
</FormContext.Provider>
)
}