mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 02:56:41 +07:00
typed more utils
This commit is contained in:
parent
5c3f09ec2c
commit
ca9f6627c4
9 changed files with 113 additions and 93 deletions
|
@ -397,7 +397,7 @@ function* getCropData({
|
|||
function* cropAShotSaga(params) {
|
||||
const { title, address } = yield select(getState);
|
||||
yield call(getCropData, params);
|
||||
const canvas = document.getElementById('renderer');
|
||||
const canvas = document.getElementById('renderer') as HTMLCanvasElement;
|
||||
|
||||
downloadCanvas(canvas, (title || address));
|
||||
|
||||
|
@ -487,8 +487,6 @@ function* searchGetRoutes() {
|
|||
starred: tab === 'starred',
|
||||
});
|
||||
|
||||
console.log('RESULT?', result);
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue