on master help sign in
Be consistent about braces
b7ece13Fang
src/views/Activate/ActivateCode.js+3−1
@@ -52,7 +52,9 @@ export default function ActivateCode() {
52 ]);
52 ]);
53 const goToPassport = useCallback(() => {
53 const goToPassport = useCallback(() => {
54 push(names.PASSPORT);
54 push(names.PASSPORT);
55+ if (!hasDisclaimed) {
55− if (!hasDisclaimed) push(names.DISCLAIMER);
56+ push(names.DISCLAIMER);
57+ }
56 }, [names, push, hasDisclaimed]);
58 }, [names, push, hasDisclaimed]);
57
59
58 const pass = derivedWallet.matchWith({
60 const pass = derivedWallet.matchWith({