solana-bootcamp/pfp-meme-generator

Bug when closing editor modal

Closed this issue · 1 comments

here are the errors:

__________________________________errormessage1:

Uncaught TypeError: Cannot read properties of undefined (reading 'setAttrs')
at Transformer._batchChangeChild (Transformer.js:782:1)
at Transformer.update (Transformer.js:806:1)
at Transformer.forceUpdate (Transformer.js:778:1)
at deactivateTextChange (handleTextChangeArea.js:1:1)
at TextControls.js:1:1
at safelyCallDestroy (react-dom.development.js:22932:1)
at commitHookEffectListUnmount (react-dom.development.js:23100:1)
at commitPassiveUnmountInsideDeletedTreeOnFiber (react-dom.development.js:25098:1)
at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (react-dom.development.js:

__________________________________errormessage2:

The above error occurred in the component:

at TextControls (http://localhost:3000/static/js/bundle.js:213700:13)
at TextOptions (http://localhost:3000/static/js/bundle.js:214038:13)
at div
at O (http://localhost:3000/static/js/bundle.js:275085:8)
at ToolsBarItemOptionsWrapper (http://localhost:3000/static/js/bundle.js:208169:13)
at div
at O (http://localhost:3000/static/js/bundle.js:275085:8)
at ToolsBar (http://localhost:3000/static/js/bundle.js:208210:57)
at div
at O (http://localhost:3000/static/js/bundle.js:275085:8)
at div
at O (http://localhost:3000/static/js/bundle.js:275085:8)
at div
at O (http://localhost:3000/static/js/bundle.js:275085:8)
at App (http://localhost:3000/static/js/bundle.js:205522:60)
at AppProvider (http://localhost:3000/static/js/bundle.js:214819:15)
at Fe (http://localhost:3000/static/js/bundle.js:275005:60)
at ThemeProvider (http://localhost:3000/static/js/bundle.js:88049:23)
at AssemblyPoint (http://localhost:3000/static/js/bundle.js:205747:13)
at div
at Editor (http://localhost:3000/static/js/bundle.js:740:5)
at div
at http://localhost:3000/static/js/bundle.js:34756:66
at ChakraComponent (http://localhost:3000/static/js/bundle.js:292869:76)
at http://localhost:3000/static/js/bundle.js:289544:5
at section
at VisualElementHandler (http://localhost:3000/static/js/bundle.js:337048:1)
at MotionComponent (http://localhost:3000/static/js/bundle.js:336964:59)
at http://localhost:3000/static/js/bundle.js:34756:66
at ChakraComponent (http://localhost:3000/static/js/bundle.js:292869:76)
at http://localhost:3000/static/js/bundle.js:289845:5
at div
at http://localhost:3000/static/js/bundle.js:34756:66
at ChakraComponent (http://localhost:3000/static/js/bundle.js:292869:76)
at http://localhost:3000/static/js/bundle.js:241687:48
at div
at FocusLockUI (http://localhost:3000/static/js/bundle.js:219734:60)
at FocusLockUICombination
at FocusLock (http://localhost:3000/static/js/bundle.js:288114:5)
at ModalFocusScope (http://localhost:3000/static/js/bundle.js:289401:75)
at http://localhost:3000/static/js/bundle.js:289305:5
at DefaultPortal (http://localhost:3000/static/js/bundle.js:290169:5)
at Portal
at PresenceChild (http://localhost:3000/static/js/bundle.js:333964:5)

Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.