From 7bb18fd062e0e0da77572b5717c629284654ff72 Mon Sep 17 00:00:00 2001 From: Artemy Egorov Date: Mon, 29 Jul 2024 23:54:44 +0300 Subject: [PATCH] fix: decodeUri when not focused --- src/lib/components/TopBar.svelte | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lib/components/TopBar.svelte b/src/lib/components/TopBar.svelte index ce54797..accb903 100644 --- a/src/lib/components/TopBar.svelte +++ b/src/lib/components/TopBar.svelte @@ -5,7 +5,6 @@ import SidebarLeft from "$lib/icons/SidebarLeft.svelte"; import SidebarRight from "$lib/icons/SidebarRight.svelte"; import { topBarInput } from "$lib/stores"; - import { get } from "svelte/store"; import Block from "./Block.svelte"; import Button from "./Button.svelte"; @@ -20,7 +19,7 @@ topBarInput.subscribe((val) => { input = val; - currentInput = val; + currentInput = decodeURIComponent(input); }); let iEl: HTMLInputElement;