Cosmetic (reformat)
This commit is contained in:
1 parent
db0761efd1
commit
4bbb642b41
3 files changed
+4
-6
No files matched your search
+1
-4
@@ -30,10 +30,7 @@ setupIonicReact();
|
|||||||
const App: React.FC = () => (
|
const App: React.FC = () => (
|
||||||
<IonApp>
|
<IonApp>
|
||||||
<Provider store={store}>
|
<Provider store={store}>
|
||||||
<Slippy />
|
|
||||||
<Layer>
|
|
||||||
<TiledMap />
|
|
||||||
</Layer>
|
|
||||||
</Provider>
|
</Provider>
|
||||||
</IonApp>
|
</IonApp>
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ const Map: react.FC<{}> = (props: {}) => {
|
|||||||
window.addEventListener('resize', debouncedResizeHandler);
|
window.addEventListener('resize', debouncedResizeHandler);
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Fragment>
|
<Fragment>
|
||||||
<Slippy />
|
<Slippy />
|
||||||
|
|||||||
+3
-1
@@ -105,7 +105,9 @@ const mapSlice = createSlice({
|
|||||||
resize: (state) => {
|
resize: (state) => {
|
||||||
return computeStateFromScope(state.scope);
|
return computeStateFromScope(state.scope);
|
||||||
},
|
},
|
||||||
shift: (state, action) => {},
|
shift: (state, action) => {
|
||||||
|
|
||||||
|
},
|
||||||
scale: (state, action) => {},
|
scale: (state, action) => {},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in new issue
Block a user