eletrotupi / tcc/ commit / 123cdb8

frontend: redirect to correct place

Pedro Lucas Porcellis porcellis@eletrotupi.com · 5 months ago 123cdb8d5adc0a4ea6f949193c890c2d47af42ca Browse files
Parents 31b145b
Changed files
1
Additions
+1
Deletions
-1
frontend/app/auth/signup.tsx
1 1
import React, { useState } from 'react';
2 2
import {
3 3
  View,
4 4
  Text,
5 5
  StyleSheet,
69 69
        firstName,
70 70
        lastName,
71 71
        email,
72 72
        password,
73 73
      });
74 -
      router.replace('/(tabs)');
74 +
      router.replace('/');
75 75
    } catch (error: any) {
76 76
	  Alert.alert('Erro:', error.message || 'Falha no cadastro. Tente novamente.');
77 77
    }
78 78
  };
79 79

210 210
  },
211 211
  footerText: {
212 212
    fontSize: 14,
213 213
  },
214 214
});