fix bad ref

This commit is contained in:
Thomas Mathews 2022-12-29 19:15:29 -08:00
parent f00f327a3d
commit fe3f794e01

View file

@ -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));