Skip to content
This repository has been archived by the owner on May 25, 2024. It is now read-only.

Commit

Permalink
Fix #26 (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
code-withAshish authored Dec 24, 2023
1 parent c202a4d commit a0db86b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/react/filter_query_browser/docs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export function generate() {
<div>
<p>Query for filtering {L1T} update.</p>
<p>Here is how you can access the information about the update:</p>
<pre className="b-rounded @dark:bg-gray-800 mt-3 w-full bg-gray-200 p-3">
<pre className="rounded-md dark:bg-gray-800 mt-3 w-full bg-gray-200 p-3">
<code>{L1.map((k1) => `ctx.${CONTEXT_SHORTCUTS[k1]};`).join("\n")}</code>
</pre>
</div>
Expand All @@ -77,7 +77,7 @@ export function generate() {
Query for filtering {L1T} update with the field {L2T}.
</p>
<p>Here is how you can access the properties of the field:</p>
<pre className="b-rounded @dark:bg-gray-800 mt-3 w-full bg-gray-200 p-3">
<pre className="rounded-md dark:bg-gray-800 mt-3 w-full bg-gray-200 p-3">
<code>{L1.map((k1) => L2.map((k2) => `ctx.${CONTEXT_SHORTCUTS[k1]}.${k2};`).join("\n")).join("\n")}</code>
</pre>
</div>
Expand Down Expand Up @@ -106,7 +106,7 @@ export function generate() {
Here is how you can access the{" "}
{isEntity ? <span>entities of {L3T} type</span> : <span>{L3T} property</span>}:
</p>
<pre className="b-rounded @dark:bg-gray-800 mt-3 w-full bg-gray-200 p-3">
<pre className="rounded-md dark:bg-gray-800 mt-3 w-full bg-gray-200 p-3">
<code>{accessInfo}</code>
</pre>
</div>
Expand Down

0 comments on commit a0db86b

Please sign in to comment.