From 23ece34f5372c3dfb56e2ab3a01a5c977a68508e Mon Sep 17 00:00:00 2001 From: Diego Barreiro Date: Fri, 12 Apr 2019 14:08:25 +0200 Subject: [PATCH] FIX: Switch Var to Const --- assets/javascripts/discourse/components/carbonads-ad.js.es6 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/javascripts/discourse/components/carbonads-ad.js.es6 b/assets/javascripts/discourse/components/carbonads-ad.js.es6 index 9bf98e5..1907a78 100644 --- a/assets/javascripts/discourse/components/carbonads-ad.js.es6 +++ b/assets/javascripts/discourse/components/carbonads-ad.js.es6 @@ -3,7 +3,7 @@ import { observes } from "ember-addons/ember-computed-decorators"; -var currentUser = Discourse.User.current(), +const currentUser = Discourse.User.current(), serve_id = Discourse.SiteSettings.carbonads_serve_id, placement = Discourse.SiteSettings.carbonads_placement;