Skip to content

Commit

Permalink
Fixed maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
SamGodwin2 committed Aug 5, 2019
1 parent 2da7d89 commit a3ad397
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 8 deletions.
6 changes: 3 additions & 3 deletions eq-author/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
"svgo-loader": "latest",
"terser-webpack-plugin": "latest",
"url-loader": "latest",
"wait-for-expect": "latest",
"webpack": "latest",
"webpack-dev-server": "latest",
"webpack-manifest-plugin": "latest",
"wait-for-expect": "latest"
"webpack-manifest-plugin": "latest"
},
"dependencies": {
"@sentry/browser": "latest",
Expand Down Expand Up @@ -104,7 +104,7 @@
"lodash": "latest",
"polished": "latest",
"react": "latest",
"react-apollo": "latest",
"react-apollo": "^2.5.8",
"react-dom": "latest",
"react-firebaseui": "latest",
"react-hot-loader": "latest",
Expand Down
6 changes: 5 additions & 1 deletion eq-author/src/App/page/Design/MovePageModal/MovePageQuery.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@ import query from "graphql/getQuestionnaire.graphql";
import PropTypes from "prop-types";

const MovePageQuery = ({ questionnaireId, children }) => (
<Query query={query} variables={{ input: { questionnaireId } }}>
<Query
query={query}
partialRefetch
variables={{ input: { questionnaireId } }}
>
{({ loading, data }) => children({ loading, data })}
</Query>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import PropTypes from "prop-types";
const MoveSectionQuery = ({ questionnaireId, children }) => (
<Query
query={query}
partialRefetch
variables={{
input: {
questionnaireId,
Expand Down
9 changes: 5 additions & 4 deletions eq-author/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -9467,12 +9467,13 @@ rc@^1.2.7:
minimist "^1.2.0"
strip-json-comments "~2.0.1"

react-apollo@latest:
version "2.5.6"
resolved "https://registry.yarnpkg.com/react-apollo/-/react-apollo-2.5.6.tgz#98a59d0eea31432ed001e6a033e11a58139ffc31"
integrity sha512-WWX5UykTtmW6+awjqEsSWSdvVyZv/vsavUgpdI4ddn4CBdz47INC+iTdJBnYaUFMB24GmqjFFSoSd98gu1xqKA==
react-apollo@^2.5.8:
version "2.5.8"
resolved "https://registry.yarnpkg.com/react-apollo/-/react-apollo-2.5.8.tgz#c7a593b027efeefdd8399885e0ac6bec3b32623c"
integrity sha512-60yOQrnNosxU/tRbOxGDaYNLFcOKmQqxHPhxyvKTlGIaF/rRCXQRKixUgWVffpEupSHHD7psY5k5ZOuZsdsSGQ==
dependencies:
apollo-utilities "^1.3.0"
fast-json-stable-stringify "^2.0.0"
hoist-non-react-statics "^3.3.0"
lodash.isequal "^4.5.0"
prop-types "^15.7.2"
Expand Down

0 comments on commit a3ad397

Please sign in to comment.