on master help sign in
chore: add note about illogical warning on ActivateCode
commite006bf2031ee01ed9f43c9a613c2bd0fa4420090 authorMatt Condon (shrugs) <mattgcondon@gmail.com> dateTue 6 Aug 2019, 12:20 (7 years ago) parent52de816
1 file changed+4−5
src/views/Activate/ActivateCode.js+4−5
src/views/Activate/ActivateCode.js+4−5
@@ -84,11 +84,10 @@ export default function ActivateCode() {
8484
8585 if (incoming.length > 0) {
8686 if (incoming.length > 1) {
87− // TODO: warnings
88− // setGeneralError(
89− // 'This invite code has multiple points available.\n' +
90− // "Once you've activated this point, activate the next with the same process."
91− // );
87+ // TODO: putting a warning here doesn't make sense since the user
88+ // will be immediately redirected away — what do?
89+ // 'This invite code has multiple points available.\n' +
90+ // "Once you've activated this point, activate the next with the same process.";
9291 }
9392
9493 const point = parseInt(incoming[0], 10);