Skip to content

Commit

Permalink
add missing effect dep in response editor (#2647)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasheyenbrock authored Aug 9, 2022
1 parent c05c963 commit 0cf1ca4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/graphiql-react/src/editor/response-editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export function useResponseEditor({
return () => {
isActive = false;
};
}, [editorTheme, setResponseEditor]);
}, [editorTheme, initialResponse, setResponseEditor]);

useSynchronizeOption(responseEditor, 'keyMap', keyMap);

Expand Down

0 comments on commit 0cf1ca4

Please sign in to comment.