Skip to content

Commit

Permalink
Fix prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelfangjw committed Jun 24, 2021
1 parent 37714ad commit 891fb4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/features/sicp/parser/ParseJson.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,9 @@ export const parseObj = (
) => {
if (obj['tag']) {
if (processingFunctions[obj['tag']]) {
return <React.Fragment key={index}>{processingFunctions[obj['tag']](obj, refs)}</React.Fragment>;
return (
<React.Fragment key={index}>{processingFunctions[obj['tag']](obj, refs)}</React.Fragment>
);
} else {
throw new ParseJsonError('Unrecognised Tag: ' + obj['tag']);
}
Expand Down

0 comments on commit 891fb4a

Please sign in to comment.