Skip to content

Commit 3a1c04c

Browse files
committed
Reasonable changes
1 parent 0322811 commit 3a1c04c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/PerspectiveView/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -497,15 +497,15 @@ class P extends React.Component {
497497
const changes1 = {languages: [[stampMid, stampOld, {note: 'Changed before sync'}]]};
498498
const changes2 = {languages: [[stampMid, stampNew, {note: 'Changed after sync'}]]};
499499

500-
const { data: { list_changes: isp_changes }} = await client.query({
500+
await client.query({
501501
query: queryListChanges,
502502
variables: { host: 'isp', id }
503-
});
503+
}).then(({data: {list_changes: ispSyncData}}) => this.setState(ispSyncData));
504504

505-
const { data: { list_changes: xal_changes }} = await client.query({
505+
await client.query({
506506
query: queryListChanges,
507507
variables: { host: 'xal', id }
508-
});
508+
}).then(({data: {list_changes: xalSyncData}}) => this.setState(xalSyncData));
509509
};
510510

511511
render() {

0 commit comments

Comments
 (0)