Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
happylolonly committed May 30, 2024
1 parent 0de9969 commit f0daecf
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions front/src/pages/Main/Main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -152,20 +152,11 @@ const Main = () => {

console.log(passport);

// useEffect(() => {
// if (lastPassport) {

// if (passport) {
// setStep(Steps.ENTER_MESSAGE);
// }

// return;
// }

// if (passport) {
// setStep(Steps.ADD_PASSPORT);
// }
// }, [lastPassport, passport]);
useEffect(() => {
if (passport) {
setStep(Steps.ADD_PASSPORT);
}
}, [passport]);

useEffect(() => {
if (passportProof) {
Expand Down

0 comments on commit f0daecf

Please sign in to comment.