stumpapp / stump

A free and open source comics, manga and digital book server with OPDS support (WIP)
https://stumpapp.dev
MIT License
843 stars 33 forks source link

[BUG] `react-hook-form` update causes `null` context pulls #315

Open aaronleopold opened 2 months ago

aaronleopold commented 2 months ago

Describe the bug

A change between 7.47.0 and 7.51.3 caused any context usage within the tree below a FormProvider to return a null form

Additional context

The Form component is technically in a separate package, i.e. components. I'm not sure if this is the root cause, in addition to something that might have changed between that react-hook-form diff.

I am putting up a quick fix by downgrading the package, but this should be resolved.