Error handling + fixed pin connecting

This commit is contained in:
Matei Adriel 2019-07-18 12:42:21 +03:00
parent d38ce7cd1b
commit fbcfb76305
25 changed files with 431 additions and 45 deletions
src/modules/core/components

View file

@ -1,10 +1,26 @@
import React from 'react'
import '../styles/reset'
import './App.scss'
import 'react-toastify/dist/ReactToastify.css'
import Canvas from './Canvas'
import { ToastContainer } from 'react-toastify'
const App = () => {
return <Canvas />
return (
<>
<ToastContainer
position="top-left"
autoClose={5000}
hideProgressBar={false}
newestOnTop={false}
closeOnClick
rtl={false}
draggable
pauseOnHover
/>
<Canvas />
</>
)
}
export default App