We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a32558 commit b678289Copy full SHA for b678289
src/hooks/use-jsonpath.ts
@@ -48,7 +48,7 @@ const jsonDocumentAtom = atom<JSONDocument>((get) => {
48
49
const resultAtom = atom<JSONPathResult>((get) => {
50
const jsonDocument = get(jsonDocumentAtom);
51
- const query = get(queryAtom);
+ const query = get(queryAtom).trim();
52
53
try {
54
const result = evalJsonPath(
0 commit comments