File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " jderobot-ide-interface" ,
3- "version" : " 0.1.41 " ,
3+ "version" : " 0.1.42 " ,
44 "main" : " dist/main.js" ,
55 "typings" : " dist/index.d.ts" ,
66 "files" : [
Original file line number Diff line number Diff line change 11import { createContext , useContext , useState } from "react" ;
2+ import ErrorModal from "src/components/Modals/ErrorModal" ;
23import { Error , ErrorType } from "Types" ;
34
45const ErrorContext = createContext < Error > ( {
@@ -57,7 +58,10 @@ export const ErrorProvider = ({ children }: { children: any }) => {
5758 } ;
5859
5960 return (
60- < ErrorContext . Provider value = { context } > { children } </ ErrorContext . Provider >
61+ < ErrorContext . Provider value = { context } >
62+ { children }
63+ < ErrorModal />
64+ </ ErrorContext . Provider >
6165 ) ;
6266} ;
6367
You can’t perform that action at this time.
0 commit comments