Skip to content

Commit acde606

Browse files
authored
fix: update query API (#206)
1 parent 2b0aef2 commit acde606

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/ParentWidget.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -160,9 +160,7 @@ export class ParentControl extends React.Component {
160160
const { forID, query, collection } = this.props;
161161
const collectionName = collection.get('name');
162162
const {
163-
payload: {
164-
response: { hits = [] },
165-
},
163+
payload: { hits = [] },
166164
} = await query(forID, collectionName, ['path'], '');
167165

168166
const options = this.getOptions(hits);

0 commit comments

Comments
 (0)