Incluindo URL para cadastro de vans

This commit is contained in:
Matheus Albino Brunhara
2022-05-28 12:56:09 -05:00
parent 7994d7652b
commit 0a9ae2f359

View File

@@ -143,7 +143,7 @@ const Perfil: React.FC = () => {
<IonCardTitle>Biografia</IonCardTitle> <IonCardTitle>Biografia</IonCardTitle>
</IonCardHeader> </IonCardHeader>
<IonCardContent> <IonCardContent>
{inputValues.bio ? inputValues.bio : 'Sem biografia.'} {inputValues.bio ? inputValues.bio : 'Sem biografia.' }
</IonCardContent> </IonCardContent>
</IonCard> </IonCard>
@@ -155,8 +155,7 @@ const Perfil: React.FC = () => {
<IonList> <IonList>
<IonListHeader>Configurações</IonListHeader> <IonListHeader>Configurações</IonListHeader>
{/* <IonItem button onClick={() => history.push({ pathname: '/perfil/editar', state: { userData: inputValues } })}> */} <IonItem button onClick={() => history.push({ pathname: '/perfil/editar', state: { userData: inputValues } })}>
<IonItem button>
<IonIcon icon={createOutline} slot="start" /> <IonIcon icon={createOutline} slot="start" />
<IonLabel>Editar perfil</IonLabel> <IonLabel>Editar perfil</IonLabel>
</IonItem> </IonItem>
@@ -164,7 +163,7 @@ const Perfil: React.FC = () => {
<IonIcon icon={shieldCheckmarkOutline} slot="start" /> <IonIcon icon={shieldCheckmarkOutline} slot="start" />
<IonLabel>Completar perfil</IonLabel> <IonLabel>Completar perfil</IonLabel>
</IonItem> </IonItem>
<IonItem button> <IonItem button onClick={() => history.push({ pathname: '/cadastro-van'})}>
<IonIcon icon={carOutline} slot="start" /> <IonIcon icon={carOutline} slot="start" />
<IonLabel>Cadastrar Van</IonLabel> <IonLabel>Cadastrar Van</IonLabel>
</IonItem> </IonItem>