stickers stops dragging

This commit is contained in:
Fedor Katurov 2019-12-30 15:07:59 +07:00
parent fca52df9f5
commit 58eefd5670
10 changed files with 388 additions and 175 deletions

View file

@ -157,8 +157,6 @@ function* loadMapSaga(path) {
data: { route, error, random_url }
}: Unwrap<typeof getStoredMap> = yield call(getStoredMap, { name: path });
console.log({ route });
if (route && !error) {
yield editor.clearAll();
yield editor.setData(route);
@ -172,6 +170,7 @@ function* loadMapSaga(path) {
yield put(mapSet({
provider: route.provider,
route: route.route,
stickers: route.stickers,
}))
return { route, random_url };