From 7f9f3cf206950baae1ad2591b4a302546a42d717 Mon Sep 17 00:00:00 2001 From: Julien Machiels Date: Fri, 14 Aug 2020 17:10:27 +0200 Subject: [PATCH] Update src/scripts/clientUtils.js Co-authored-by: Cameron --- src/scripts/clientUtils.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/clientUtils.js b/src/scripts/clientUtils.js index d94a08e56e..eb3105a0a2 100644 --- a/src/scripts/clientUtils.js +++ b/src/scripts/clientUtils.js @@ -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 }); });