automerge / automerge-repo

MIT License
419 stars 43 forks source link

fix useHandle to always call useRepo #348

Closed paulsonnentag closed 2 months ago

paulsonnentag commented 2 months ago

Currently useHandle calls useRepo only if an id is passed in. This violates a rule of hooks that you always have to call the same hooks in the same order