Skip to content

Commit

Permalink
Remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
sabkuah committed Apr 16, 2021
1 parent e3da792 commit 42e4013
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion client/src/components/Weather.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const Weather = ({ community }) => {
const weatherData = await fetchWeatherData();
setWeather(weatherData);
})();
console.log('hello');
// eslint-disable-next-line
}, [community]);

Expand Down
2 changes: 0 additions & 2 deletions client/src/views/dashboard/Dashboard.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,7 @@ const Dashboard = ({ children }) => {
const [community, setCommunity] = useState(null);

useEffect(() => {
console.log('useLocation>>', location);
const communityId = location.pathname.substr(18, 35);
console.log('SUBSTRING>>>>>>>', communityId);
communityId &&
(async () => {
const response = await getCommunity({ id: communityId, token });
Expand Down

0 comments on commit 42e4013

Please sign in to comment.