|
|
@@ -229,6 +229,13 @@ class App extends Component {
|
|
|
}}
|
|
|
validationSchema={laporanSchema}
|
|
|
onSubmit={async (data) => {
|
|
|
+ swal({
|
|
|
+ title: "",
|
|
|
+ text: "Loading...",
|
|
|
+ icon: "https://www.boasnotas.com/img/loading2.gif",
|
|
|
+ buttons: false,
|
|
|
+ closeOnClickOutside: false,
|
|
|
+ });
|
|
|
const user = await this.createUser(data);
|
|
|
data.noVerifikasi = await swal({
|
|
|
text: "Masukkan kode verifikasi",
|