harvard-lil / h2o

H2O is a web app for creating and reading open educational resources, primarily in the legal field
https://opencasebook.org
GNU Affero General Public License v3.0
36 stars 30 forks source link

Fix some minor state refreshes in Add Content #1995

Closed lizadaly closed 1 year ago

lizadaly commented 1 year ago

Noticed in testing #1994 that there were some bugs in Add Content when running multiple searches in a row. These changes do a better job of resetting the state appropriately after each event: