We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ffee6c8 commit 6fed61bCopy full SHA for 6fed61b
react-app/src/helpers/Globals.ts
@@ -7,23 +7,20 @@ export const BASE_URL = 'http://68.183.123.0:1323';
7
const mySwal = withReactContent(Swal);
8
export const alertSuccess = (message: string) =>
9
mySwal.fire({
10
- position: 'top-end',
11
type: 'success',
12
title: message,
13
showConfirmButton: false,
14
timer: 1500
15
});
16
export const alertWarning = (message: string) =>
17
18
19
type: 'warning',
20
21
22
23
24
export const alertError = (message: string) =>
25
26
27
type: 'error',
28
29
0 commit comments