This applies the same functionality as the changes in PR #106, but for moderator buttons. Project actions are not allowed in the locking phase, so this will prevent users from wasting gas.
Test Plan
Create a project as a participant during the main phase.
Teleport to the locking phase: npm run teleport:locking_phase
Load a moderator wallet
Verify that endorsing or approving a project will show the error overlay if any of the following conditions are true:
Ref: DGDG-586, DGDG-311
This applies the same functionality as the changes in PR #106, but for moderator buttons. Project actions are not allowed in the locking phase, so this will prevent users from wasting gas.
Test Plan
npm run teleport:locking_phase