From 8eec57f5606c1d1757383f4c0ca40d2cc3334572 Mon Sep 17 00:00:00 2001
From: Ilion Beyst <ilion.beyst@gmail.com>
Date: Sun, 21 Aug 2022 21:18:06 +0200
Subject: extract leaderboard from editor

---
 web/pw-server/src/routes/editor.svelte | 10 ----------
 1 file changed, 10 deletions(-)

(limited to 'web/pw-server/src/routes/editor.svelte')

diff --git a/web/pw-server/src/routes/editor.svelte b/web/pw-server/src/routes/editor.svelte
index 85c2454..e85f572 100644
--- a/web/pw-server/src/routes/editor.svelte
+++ b/web/pw-server/src/routes/editor.svelte
@@ -19,7 +19,6 @@
     Editor,
     MatchVisualizer,
     Rules,
-    Leaderboard,
   }
 
   let matches = [];
@@ -153,13 +152,6 @@
     >
       Rules
     </div>
-    <div
-      class="sidebar-item"
-      class:selected={viewMode === ViewMode.Leaderboard}
-      on:click={() => setViewMode(ViewMode.Leaderboard)}
-    >
-      Leaderboard
-    </div>
     <div class="sidebar-header">match history</div>
     <ul class="match-list">
       {#each matches as match}
@@ -184,8 +176,6 @@
       <EditorView {editSession} />
     {:else if viewMode === ViewMode.Rules}
       <RulesView />
-    {:else if viewMode === ViewMode.Leaderboard}
-      <Leaderboard />
     {/if}
   </div>
   <div class="sidebar-right">
-- 
cgit v1.2.3

