From 0c418ac846e51707da1bb2e46cce2afc11fc8b08 Mon Sep 17 00:00:00 2001 From: Jos de Jong Date: Mon, 27 Jul 2020 16:15:16 +0200 Subject: [PATCH] Refactoring in duplicate --- src/components/DropdownMenu.svelte | 2 +- src/components/JSONEditor.svelte | 23 ++++++----------------- src/components/Menu.svelte | 13 +++++-------- src/logic/operations.js | 20 ++++++++++++-------- 4 files changed, 24 insertions(+), 34 deletions(-) diff --git a/src/components/DropdownMenu.svelte b/src/components/DropdownMenu.svelte index b0ff7cb..bb9f07b 100644 --- a/src/components/DropdownMenu.svelte +++ b/src/components/DropdownMenu.svelte @@ -51,7 +51,7 @@ {#each items as item}