Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

All comments

  • Mateusz 40

    @MateuszSobiech

    Posted

    "What specific areas of your project would you like help with? - The javascript"

    What would you like to know?

    0
  • Mateusz 40

    @MateuszSobiech

    Posted

    It's been 5 months, so if you remake logic of the code, I can help with code review. Tell me if you are interested.

    Marked as helpful

    1
  • Mateusz 40

    @MateuszSobiech

    Posted

    Hi, good work. Consider to change state from booleans to number or string. I think it might simplify the code.

      const [stepOne, setStepOne] = useState(true);
      const [stepTwo, setStepTwo] = useState(false);
      const [stepThree, setStepThree] = useState(false);
      const [stepFour, setStepFour] = useState(false);
    
    type StepState = 1 | 2 | 3 | 4;
    
    const [step, setStep] = useState<StepState>(1);
    
    switch(step) { ... }
    

    Marked as helpful

    1