From 6029b77a7b5d3ad717ee2e30d856353db750fb14 Mon Sep 17 00:00:00 2001 From: Alexis Poyen <apoyen@mail.apoyen.fr> Date: Thu, 11 Jun 2020 16:58:34 +0200 Subject: [PATCH] Refactor : remove useless var --- web/components/management/candidate-lists.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/web/components/management/candidate-lists.js b/web/components/management/candidate-lists.js index 5527b2b..1b0dd46 100644 --- a/web/components/management/candidate-lists.js +++ b/web/components/management/candidate-lists.js @@ -10,9 +10,6 @@ import { Delete } from "/services/common/delete.js"; // DOM elements -// local variables -let current_user; - export async function mount(where, parent) { const candidateListComponent = new CandidateList(parent); await candidateListComponent.mount(where); @@ -58,7 +55,6 @@ class CandidateList { </div> </div> `; - current_user = await Auth.GetUser(); this.mountModal("candidateList-modal"); this.handleDom(); } -- GitLab