fix unnecessary copy every frame

Signed-off-by: kernelkind <kernelkind@gmail.com>
This commit is contained in:
kernelkind
2024-10-15 11:45:13 -04:00
parent e5ba897ce6
commit 0a077ae797
4 changed files with 9 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ pub fn render_nav(col: usize, app: &mut Damus, ui: &mut egui::Ui) {
}
Route::Profile(pubkey) => render_profile_route(
*pubkey,
pubkey,
&app.ndb,
&mut app.columns,
&mut app.profiles,