From 66d4e090d64db3bb987ae8185a9a648243e2a598 Mon Sep 17 00:00:00 2001 From: Paulo Gustavo Veiga Date: Sat, 17 Dec 2022 17:23:46 -0800 Subject: [PATCH] Change from back to absolute URL. --- packages/editor/src/components/app-bar/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/editor/src/components/app-bar/index.tsx b/packages/editor/src/components/app-bar/index.tsx index 169d189e..0a0ea9a5 100644 --- a/packages/editor/src/components/app-bar/index.tsx +++ b/packages/editor/src/components/app-bar/index.tsx @@ -100,7 +100,7 @@ const AppBar = ({ id: 'appbar.back-to-map-list', defaultMessage: 'Back to maps list', }), - onClick: () => history.back(), + onClick: () => (window.location.href = '/c/maps/'), }, { render: () => ,