Skip to content

Commit 6fed61b

Browse files
committed
centered sweetalert
1 parent ffee6c8 commit 6fed61b

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

react-app/src/helpers/Globals.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,23 +7,20 @@ export const BASE_URL = 'http://68.183.123.0:1323';
77
const mySwal = withReactContent(Swal);
88
export const alertSuccess = (message: string) =>
99
mySwal.fire({
10-
position: 'top-end',
1110
type: 'success',
1211
title: message,
1312
showConfirmButton: false,
1413
timer: 1500
1514
});
1615
export const alertWarning = (message: string) =>
1716
mySwal.fire({
18-
position: 'top-end',
1917
type: 'warning',
2018
title: message,
2119
showConfirmButton: false,
2220
timer: 1500
2321
});
2422
export const alertError = (message: string) =>
2523
mySwal.fire({
26-
position: 'top-end',
2724
type: 'error',
2825
title: message,
2926
showConfirmButton: false,

0 commit comments

Comments
 (0)