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.
2 parents 3a32558 + b678289 commit 95d450bCopy full SHA for 95d450b
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