Skip to content

Commit 2d961f3

Browse files
committed
fix query editing action
1 parent ce3d455 commit 2d961f3

File tree

1 file changed

+1
-1
lines changed
  • packages/graphql-playground-react/src/state/sessions

1 file changed

+1
-1
lines changed

packages/graphql-playground-react/src/state/sessions/actions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export const {
6262
setCurrentQueryEndTime,
6363
} = createActions({
6464
// simple property setting
65-
EDIT_QUERY: simpleAction('query'),
65+
EDIT_QUERY: query => ({ query }),
6666
EDIT_HEADERS: simpleAction('headers'),
6767
EDIT_ENDPOINT: simpleAction('endpoint'),
6868
EDIT_VARIABLES: simpleAction('variables'),

0 commit comments

Comments
 (0)