diff --git a/web/src/App.tsx b/web/src/App.tsx index 312fcf8..607fd68 100644 --- a/web/src/App.tsx +++ b/web/src/App.tsx @@ -97,7 +97,6 @@ function App() { try { await createTradeProfile(payload); fetchChatProfiles(); - window.dispatchEvent(new Event('profiles-updated')); return { success: true }; } catch (err: any) { return { success: false, error: err.message }; @@ -107,7 +106,6 @@ function App() { try { await updateTradeProfile(profileData.id, payload); fetchChatProfiles(); - window.dispatchEvent(new Event('profiles-updated')); return { success: true }; } catch (err: any) { return { success: false, error: err.message };