Remove wrong backticks from json path help window (#4892)

Co-authored-by: Dimitri Mitropoulos <dimitrimitropoulos@gmail.com>
This commit is contained in:
Maksim Rotmann 2022-07-01 18:14:13 +02:00 committed by GitHub
parent 1036686d68
commit 044a3b0a7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,10 +37,10 @@ const JSONPathHelp: FC = () => (
<HelpExamples <HelpExamples
helpExamples={[ helpExamples={[
{ code: '$.store.books[*].title', description: 'Get titles of all books in the store' }, { code: '$.store.books[*].title', description: 'Get titles of all books in the store' },
{ code: '$.store.books[?(`@.price < 10)].title', description: 'Get books costing less than $10' }, { code: '$.store.books[?(@.price < 10)].title', description: 'Get books costing less than $10' },
{ code: '$.store.books[-1:]', description: 'Get the last book in the store' }, { code: '$.store.books[-1:]', description: 'Get the last book in the store' },
{ code: '$.store.books.length', description: 'Get the number of books in the store' }, { code: '$.store.books.length', description: 'Get the number of books in the store' },
{ code: '$.store.books[?(`@.title.match(/lord.*rings/i))]', description: 'Get book by title regular expression' }, { code: '$.store.books[?(@.title.match(/lord.*rings/i))]', description: 'Get book by title regular expression' },
]} ]}
/> />
<p className="notice info"> <p className="notice info">