mirror of
https://github.com/supabase/supabase.git
synced 2026-10-06 09:55:06 +03:00
Added missing param to handler function in prop
Added missing 'e' (event) param to handler function in onUpload prop (Avatar component)
This commit is contained in:
1 parent
e99fda2941
commit
609cd3b7ae
1 file changed
+1
-1
@@ -522,7 +522,7 @@ return (
|
||||
<Avatar
|
||||
url={avatar_url}
|
||||
size={150}
|
||||
onUpload={(url) => {
|
||||
onUpload={(e, url) => {
|
||||
setAvatarUrl(url)
|
||||
updateProfile(e)
|
||||
}}
|
||||
|
||||
Reference in new issue
Block a user