Fix build

This commit is contained in:
Nathan Bierema 2022-05-07 16:14:11 -04:00
parent 4a217fa52e
commit dade516780

View File

@ -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 });