fix: 🐛 Fix a bugs of merge with develop
This commit is contained in:
@@ -1,22 +1,16 @@
|
||||
import {
|
||||
IonToast,
|
||||
IonItem,
|
||||
IonLabel,
|
||||
IonInput,
|
||||
IonBackButton,
|
||||
IonButton,
|
||||
IonButtons,
|
||||
IonContent,
|
||||
IonHeader,
|
||||
IonPage,
|
||||
IonToolbar,
|
||||
IonTitle,
|
||||
IonList,
|
||||
IonCheckbox,
|
||||
IonListHeader,
|
||||
IonContent,
|
||||
IonInput,
|
||||
IonItem,
|
||||
IonItemDivider,
|
||||
IonLabel,
|
||||
IonList,
|
||||
IonPage,
|
||||
IonSelect,
|
||||
IonSelectOption,
|
||||
IonItemDivider,
|
||||
IonToast,
|
||||
} from "@ionic/react";
|
||||
|
||||
import React, { useEffect, useReducer, useState } from "react";
|
||||
@@ -28,10 +22,10 @@ import carsService from "../services/functions/carsService";
|
||||
|
||||
import * as vehiclesRoutes from "../services/api/vehicles";
|
||||
|
||||
import "./VeiculoCadastro.css";
|
||||
import { Color } from "@ionic/core";
|
||||
import { closeToast } from "../services/utils";
|
||||
import { PageHeader } from "../components/PageHeader";
|
||||
import { closeToast } from "../services/utils";
|
||||
import "./VeiculoCadastro.css";
|
||||
|
||||
const VeiculoCadastro: React.FC = () => {
|
||||
const history = useHistory();
|
||||
@@ -209,7 +203,7 @@ const VeiculoCadastro: React.FC = () => {
|
||||
}
|
||||
|
||||
history.push({
|
||||
pathname: "/minhas-vehicles",
|
||||
pathname: "/veiculos/meus",
|
||||
state: {
|
||||
redirectData: {
|
||||
showToastMessage: true,
|
||||
@@ -262,7 +256,9 @@ const VeiculoCadastro: React.FC = () => {
|
||||
|
||||
<IonContent>
|
||||
<IonList lines="full" class="ion-no-margin">
|
||||
<IonItemDivider color={"primary"}>Informações do veículo</IonItemDivider>
|
||||
<IonItemDivider color={"primary"}>
|
||||
Informações do veículo
|
||||
</IonItemDivider>
|
||||
<IonItem>
|
||||
<IonLabel position="fixed">Placa </IonLabel>
|
||||
<IonInput
|
||||
|
||||
Reference in New Issue
Block a user