The logic for changing the title works great with one exception; if you open the modal from a movie it defaults to Add, even if a previous review exists (and pre-populates) - potentially a different nesting of the if statements would be a quick fix.
The "Add Review" button on the film page (in cog menu) remains as "add" even if you are editing a review, which is inconsistent. Having it switch to "Edit Review" with something like AiOutlineEdit as the alternative icon would complete the whole flow.
The logic for changing the title works great with one exception; if you open the modal from a movie it defaults to Add, even if a previous review exists (and pre-populates) - potentially a different nesting of the if statements would be a quick fix.
The "Add Review" button on the film page (in cog menu) remains as "add" even if you are editing a review, which is inconsistent. Having it switch to "Edit Review" with something like
AiOutlineEdit
as the alternative icon would complete the whole flow.