Update src/scripts/clientUtils.js
Co-authored-by: Cameron <Influence365@gmail.com>
This commit is contained in:
@@ -136,7 +136,7 @@ export function processErrorResponse(response) {
|
||||
export function alert(options) {
|
||||
if (typeof options == 'string') {
|
||||
return void import('toast').then(({default: toast}) => {
|
||||
toast.default({
|
||||
toast({
|
||||
text: options
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user