From fe3f794e0140211cc6354d21f45600beecef452e Mon Sep 17 00:00:00 2001 From: Thomas Mathews Date: Thu, 29 Dec 2022 19:15:29 -0800 Subject: [PATCH] fix bad ref --- js/ui/util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/util.js b/js/ui/util.js index f9ce014..2bbad9d 100644 --- a/js/ui/util.js +++ b/js/ui/util.js @@ -307,7 +307,7 @@ function close_modal(el) { } function view_update_profile(model, pubkey) { - const profile = model_get_profile(pubkey); + const profile = model_get_profile(model, pubkey); const el = find_node("[role='profile-info']"); const name = fmt_profile_name(profile.data, fmt_pubkey(pubkey));