on master help sign in
chore: add note about illogical warning on ActivateCode
e006bf2Matt Condon (shrugs)
src/views/Activate/ActivateCode.js+4−5
@@ -84,11 +84,10 @@ export default function ActivateCode() {
84
84
85 if (incoming.length > 0) {
85 if (incoming.length > 0) {
86 if (incoming.length > 1) {
86 if (incoming.length > 1) {
87− // TODO: warnings
87+ // TODO: putting a warning here doesn't make sense since the user
88− // setGeneralError(
88+ // will be immediately redirected away — what do?
89− // 'This invite code has multiple points available.\n' +
89+ // 'This invite code has multiple points available.\n' +
90− // "Once you've activated this point, activate the next with the same process."
90+ // "Once you've activated this point, activate the next with the same process.";
91− // );
92 }
91 }
93
92
94 const point = parseInt(incoming[0], 10);
93 const point = parseInt(incoming[0], 10);