fix: react warning with DropToImport

This commit is contained in:
Tom Moor
2019-06-26 22:10:07 -07:00
parent 8200e36b89
commit 3d7eb11a49

View File

@ -23,6 +23,7 @@ type Props = {
location: Object,
match: Object,
history: Object,
staticContext: Object,
};
export const GlobalStyles = createGlobalStyle`
@ -81,6 +82,7 @@ class DropToImport extends React.Component<Props> {
location,
match,
history,
staticContext,
...rest
} = this.props;