Commit 64837203 authored by Milan DiGiuseppe's avatar Milan DiGiuseppe
Browse files

prevent unsubscribe map error

parent 29118401
......@@ -65,7 +65,7 @@ export const UserLocationProvider: React.FC = ({ children }) => {
subscribeToUserLocation();
// Unsubscribe as component cleans up
return () => unsubscribe();
// return () => unsubscribe();
}, [setUserLocation]);
return (
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment