Added google maps heatmap

This commit is contained in:
2020-11-11 16:55:50 +01:00
parent 4281c2d524
commit a52f6acd71
26 changed files with 1011 additions and 1217 deletions

View File

@ -54,15 +54,15 @@ export default function Auth(props: any) {
setIsLoggingIn(true);
AuthService.login(username, password)
.then(() => {
props.onAuthenticated();
history.push('/');
}).catch(() => {
setShowError(true);
setErrorMessage('Invalid credentials');
}).finally(() => {
setIsLoggingIn(false);
});
.then(() => {
setIsLoggingIn(false);
props.onAuthenticated();
history.push('/');
}).catch(() => {
setShowError(true);
setIsLoggingIn(false);
setErrorMessage('Invalid credentials');
});
};
const renderErrorLabel = () => {