Browse Source

fix: sidebar setting button

Timothy J. Baek 1 year ago
parent
commit
92f0059bec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/components/layout/Sidebar.svelte

+ 2 - 2
src/lib/components/layout/Sidebar.svelte

@@ -579,8 +579,8 @@
 				{:else}
 				{:else}
 					<button
 					<button
 						class=" flex rounded-md py-3 px-3.5 w-full hover:bg-gray-900 transition"
 						class=" flex rounded-md py-3 px-3.5 w-full hover:bg-gray-900 transition"
-						on:click={() => {
-							openSettings();
+						on:click={async () => {
+							await showSettings.set(true);
 						}}
 						}}
 					>
 					>
 						<div class=" self-center mr-3">
 						<div class=" self-center mr-3">