Skip to content

Commit

Permalink
chore(graphiql): formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
matijagaspar committed Dec 6, 2022
1 parent ae9e557 commit 302989b
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions packages/graphiql/src/components/GraphiQL.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,9 @@ export function GraphiQLInterface(props: GraphiQLInterfaceProps) {
: ''
}
onClick={() => {
if (editorToolsResize.hiddenElement === 'second') {
if (
editorToolsResize.hiddenElement === 'second'
) {
editorToolsResize.setHiddenElement(null);
}
setActiveSecondaryEditor('variables');
Expand Down Expand Up @@ -746,7 +748,9 @@ export function GraphiQLInterface(props: GraphiQLInterfaceProps) {
{' + '}
<code className="graphiql-key">M</code>
</td>
<td>Merge fragments definitions into operation definition</td>
<td>
Merge fragments definitions into operation definition
</td>
</tr>
<tr>
<td>
Expand Down Expand Up @@ -779,8 +783,8 @@ export function GraphiQLInterface(props: GraphiQLInterfaceProps) {
>
CodeMirror Key Maps
</a>{' '}
that add more short keys. This instance of Graph<em>i</em>QL uses{' '}
<code>{props.keyMap || 'sublime'}</code>.
that add more short keys. This instance of Graph<em>i</em>QL
uses <code>{props.keyMap || 'sublime'}</code>.
</p>
</div>
</div>
Expand Down Expand Up @@ -837,7 +841,9 @@ export function GraphiQLInterface(props: GraphiQLInterfaceProps) {
{storageContext ? (
<div className="graphiql-dialog-section">
<div>
<div className="graphiql-dialog-section-title">Clear storage</div>
<div className="graphiql-dialog-section-title">
Clear storage
</div>
<div className="graphiql-dialog-section-caption">
Remove all locally stored data and start fresh.
</div>
Expand Down

0 comments on commit 302989b

Please sign in to comment.