From 50cc33a6044a0135bb0e22cc82685099e873ee0e Mon Sep 17 00:00:00 2001 From: Mara Date: Wed, 8 Jun 2022 11:34:46 +0200 Subject: [PATCH] style: remove un-necessary semicolons --- src/utils.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/utils.ts b/src/utils.ts index 932d382..f32f85c 100644 --- a/src/utils.ts +++ b/src/utils.ts @@ -1,12 +1,12 @@ -export function changePathVisibility(path: string, hide: boolean) { +export async function changePathVisibility(path: string, hide: boolean) { let n = document.querySelector(`[data-path="${path}"]`); if (!n) { return; - }; + } let p = n.parentElement if (hide) { p.style.display = `none` } else { p.style.display = ``; - }; -}; \ No newline at end of file + } +}