Skip to content

Commit 5a15df7

Browse files
committed
Remove setting defaultOpenPaths in render
1 parent 8566f1f commit 5a15df7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/data-helper/src/legacy/Picker.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ export class Picker extends React.Component<PropType, StateType> {
346346

347347
render() {
348348
const selectedPaths = this.state.selectedPaths ? this.state.selectedPaths : this.props.selectedPaths;
349-
let openPaths = this.state.openPaths || this.props.openPaths || this.props.defaultOpenPaths;
349+
let openPaths = this.state.openPaths || this.props.openPaths;
350350
const {setRefetch} = this.props;
351351

352352
openPaths = clone(openPaths);

0 commit comments

Comments
 (0)