fix: button click issue

This commit is contained in:
Timothy J. Baek 2024-03-07 11:07:27 -08:00
parent 8ed5759d0e
commit 04ddbf4306
6 changed files with 18 additions and 6 deletions

View file

@ -109,7 +109,9 @@
<button
class="relative rounded-full dark:bg-gray-700"
type="button"
on:click={profileImageInputElement.click}
on:click={() => {
profileImageInputElement.click();
}}
>
<img
src={profileImageUrl !== '' ? profileImageUrl : '/user.png'}