Explorar o código

fix: sidebar setting button

Timothy J. Baek hai 1 ano
pai
achega
92f0059bec
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/lib/components/layout/Sidebar.svelte

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

@@ -579,8 +579,8 @@
 				{:else}
 					<button
 						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">