Change from back to absolute URL.

This commit is contained in:
Paulo Gustavo Veiga 2022-12-17 17:23:46 -08:00
parent d7159760e8
commit 66d4e090d6

View File

@ -100,7 +100,7 @@ const AppBar = ({
id: 'appbar.back-to-map-list', id: 'appbar.back-to-map-list',
defaultMessage: 'Back to maps list', defaultMessage: 'Back to maps list',
}), }),
onClick: () => history.back(), onClick: () => (window.location.href = '/c/maps/'),
}, },
{ {
render: () => <img src={LogoTextBlackSvg} aria-label="WiseMappping" />, render: () => <img src={LogoTextBlackSvg} aria-label="WiseMappping" />,