mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-27 08:30:02 +03:00
Fix build
This commit is contained in:
parent
4a217fa52e
commit
dade516780
|
@ -1,6 +1,7 @@
|
||||||
import React, { Component, ReactNode } from 'react';
|
import React, { Component, ReactNode } from 'react';
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import debounce from 'lodash.debounce';
|
import debounce from 'lodash.debounce';
|
||||||
|
import type { DebouncedFunc } from 'lodash';
|
||||||
import autoprefix from './autoprefix';
|
import autoprefix from './autoprefix';
|
||||||
|
|
||||||
interface Styles {
|
interface Styles {
|
||||||
|
@ -438,7 +439,10 @@ export default class Dock extends Component<Props, State> {
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
debouncedUpdateWindowSizeEnd = debounce(this.updateWindowSizeEnd, 30);
|
debouncedUpdateWindowSizeEnd: DebouncedFunc<() => void> = debounce(
|
||||||
|
this.updateWindowSizeEnd,
|
||||||
|
30
|
||||||
|
);
|
||||||
|
|
||||||
handleWrapperLeave = () => {
|
handleWrapperLeave = () => {
|
||||||
this.setState({ isResizing: false });
|
this.setState({ isResizing: false });
|
||||||
|
|
Loading…
Reference in New Issue
Block a user