Fixes: Redirects do not push into history stack

This commit is contained in:
Tom Moor
2019-01-26 13:01:33 +00:00
parent 1768a1921d
commit 0ce50781d7
11 changed files with 11 additions and 11 deletions

View File

@ -77,7 +77,7 @@ class DropToImport extends React.Component<Props> {
...rest
} = this.props;
if (this.redirectTo) return <Redirect to={this.redirectTo} />;
if (this.redirectTo) return <Redirect to={this.redirectTo} push />;
if (this.props.disabled) return this.props.children;
return (