on master help sign in
Soulless naming
3f629b7Fang
src/lib/useImpliedTicket.js+3−3
@@ -7,8 +7,8 @@ import { prependSig } from './transformers';
7 */
7 */
8export default function useImpliedTicket() {
8export default function useImpliedTicket() {
9 const hash = window.location.hash.slice(1);
9 const hash = window.location.hash.slice(1);
10− const tick = prependSig(hash);
10+ const ticket = prependSig(hash);
11− const isValid = ob.isValidPatq(tick);
11+ const isValid = ob.isValidPatq(ticket);
12
12
13− return isValid ? tick : null;
13+ return isValid ? ticket : null;
14}
14}