Fix double fetching on profile page load

This commit is contained in:
Bojan Mojsilovic 2023-09-27 18:40:56 +02:00
parent 2e5bb9ca23
commit 96f01da3cb

View File

@ -93,7 +93,6 @@ const Profile: Component = () => {
profile?.actions.clearReplies();
profile?.actions.clearContacts();
profile?.actions.fetchNotes(hex);
}
createEffect(() => {
@ -601,7 +600,7 @@ const Profile: Component = () => {
</div>
<ProfileTabs setProfile={setProfile} profile={profile?.userProfile}/>
<ProfileTabs profile={profile?.userProfile}/>
<ConfirmModal
open={confirmReportUser()}