From f3383e8bea36136dc2a3d7610d58efd330dd4015 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Sat, 14 Jan 2017 16:11:57 -0500 Subject: [PATCH] fix object destructuring syntax --- frontend/src/Metamaps/GlobalUI/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/Metamaps/GlobalUI/index.js b/frontend/src/Metamaps/GlobalUI/index.js index e54f5eca..a1d2bbff 100644 --- a/frontend/src/Metamaps/GlobalUI/index.js +++ b/frontend/src/Metamaps/GlobalUI/index.js @@ -112,7 +112,7 @@ const GlobalUI = { _notifyUser: function(message, opts = {}) { const self = GlobalUI - const { leaveOpen: false, timeOut: 8000 } = opts + const { leaveOpen = false, timeOut = 8000 } = opts $('#toast').html(message) self.showDiv('#toast')