diff --git a/src/App.tsx b/src/App.tsx index 5b3a726..a486e1a 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -5,7 +5,7 @@ import { setupIonicReact } from '@ionic/react'; import { IonReactRouter } from '@ionic/react-router'; -import Cadastro from './pages/Cadastro'; +import Cadastro from './pages/Cadastro/Cadastro'; import MainPages from './pages/MainPages'; /* Core CSS required for Ionic components to work properly */ diff --git a/src/pages/Cadastro.css b/src/pages/Cadastro/Cadastro.css similarity index 100% rename from src/pages/Cadastro.css rename to src/pages/Cadastro/Cadastro.css diff --git a/src/pages/Cadastro.tsx b/src/pages/Cadastro/Cadastro.tsx similarity index 97% rename from src/pages/Cadastro.tsx rename to src/pages/Cadastro/Cadastro.tsx index 653280b..15ed2aa 100644 --- a/src/pages/Cadastro.tsx +++ b/src/pages/Cadastro/Cadastro.tsx @@ -1,11 +1,11 @@ import { IonToast, IonProgressBar, IonItem, IonLabel, IonInput, IonBackButton, IonButton, IonButtons, IonCardTitle, IonCol, IonContent, IonGrid, IonHeader, IonPage, IonRow, IonToolbar } from '@ionic/react'; import { arrowBack, logoFacebook, mail } from 'ionicons/icons'; -import { Action } from '../components/Action'; +import { Action } from '../../components/Action'; import { useEffect, useState } from 'react'; import { useHistory, useParams } from 'react-router'; import './Cadastro.css'; -import ModalExample from '../components/Email'; -import * as UsersService from '../services/users' +import ModalExample from '../../components/Email'; +import * as UsersService from '../../services/users' const Cadastro: React.FC = () => { const history = useHistory();