Cosmetics
This commit is contained in:
parent
3856e4b516
commit
3af532de54
|
@ -1,4 +1,8 @@
|
||||||
import React, { Fragment } from 'react';
|
import React
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
from 'react';
|
||||||
|
|
||||||
import { useSelector } from 'react-redux';
|
import { useSelector } from 'react-redux';
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
import React, { Fragment } from 'react';
|
import React from 'react';
|
||||||
import { useSelector } from 'react-redux';
|
import { useSelector } from 'react-redux';
|
||||||
import { MapState, zoom0 } from '../../store/map';
|
import { MapState } from '../../store/map';
|
||||||
|
|
||||||
interface WhiteboardProps {
|
interface WhiteboardProps {
|
||||||
children?: any;
|
children?: any;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
import react, { useState } from 'react';
|
import react, { useState } from 'react';
|
||||||
import { useDispatch } from 'react-redux';
|
import { useDispatch } from 'react-redux';
|
||||||
|
|
||||||
import _ from 'lodash';
|
|
||||||
import { mapActions } from '../../store/map';
|
import { mapActions } from '../../store/map';
|
||||||
|
|
||||||
|
|
||||||
|
@ -14,10 +13,6 @@ const WheelHandler: react.FC<WheelHandlerProps> = (
|
||||||
) => {
|
) => {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
||||||
interface WheelState {
|
|
||||||
timestamp: number;
|
|
||||||
}
|
|
||||||
|
|
||||||
const initialWheelState = {
|
const initialWheelState = {
|
||||||
timestamp: 0,
|
timestamp: 0,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue