JS: Claim Rewards error: PrivateKey is not defined
When following the javascript steps for claim rewards, the following error is observed in the console:
Uncaught (in promise) ReferenceError: PrivateKey is not defined
at ./public/app.js.window.submitTx (app.js:36)
at HTMLInputElement.onclick ((index):31)