Skip to content

Commit 0634b5d

Browse files
authored
fix: bug setting query to wrong prop in state (#121)
1 parent c50b039 commit 0634b5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/hooks/usePlayground.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ function reducer(state, action) {
3535

3636
return {
3737
...state,
38-
setQuery: action.query,
38+
query: action.query,
3939
result: parser.parse({
4040
markup: state.markup,
4141
query: action.query,

0 commit comments

Comments
 (0)