Skip to content

Commit 2059372

Browse files
CATISNOTSODIUMRichDom2185
authored andcommitted
chore: run linter
# Conflicts: # src/commons/sideContent/content/SideContentSubstVisualizer.tsx
1 parent 29ca5a0 commit 2059372

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/commons/sideContent/content/SideContentSubstVisualizer.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -247,12 +247,12 @@ function renderNode(currentNode: StepperBaseNode, renderContext: RenderContext):
247247
const renderers = {
248248
Literal(node: StepperLiteral) {
249249
const stringifyLiteralValue = (value: any) =>
250-
typeof value === 'string'
251-
? '"' + value + '"'
252-
: value !== null
253-
? value.toString()
254-
: 'null';
255-
return <span className="stepper-literal">{node.raw ? node.raw : stringifyLiteralValue(node.value)}</span>;
250+
typeof value === 'string' ? '"' + value + '"' : value !== null ? value.toString() : 'null';
251+
return (
252+
<span className="stepper-literal">
253+
{node.raw ? node.raw : stringifyLiteralValue(node.value)}
254+
</span>
255+
);
256256
},
257257
Identifier(node: StepperIdentifier) {
258258
return <span>{node.name}</span>;

0 commit comments

Comments
 (0)