code4rena-dev / components-library

Components library for Code4rena, and accessible as a package to be used in React based Code4rena products.
https://components-library-wine.vercel.app
0 stars 0 forks source link

Doesn't include react toastify as a dependency and probably should #80

Closed sockdrawermoney closed 1 month ago

sockdrawermoney commented 1 month ago

Got this when playing with this in another project:

Module not found: Can't resolve 'react-toastify/dist/ReactToastify.min.css'

SamusElderg commented 1 month ago

Got this when playing with this in another project:

Module not found: Can't resolve 'react-toastify/dist/ReactToastify.min.css'

Deleted my previous replie/s 😂 -- the component library doesnt use toasts at all as far as im aware, so this will trace back to something else being the source of the problem in the project you are working on but the following should fix it:

sockdrawermoney commented 1 month ago

Yeah I was not using toasts, so this was just a weird error to get. I assumed it was the component library, but guess not!