Skip to content

Commit

Permalink
Fixed code styling
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielbull committed Apr 18, 2017
1 parent fc957bd commit 2f89af8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/renderer/renderPass.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,14 @@ const renderPass = (context, element, staticMarkup = false) => {
<AsyncRenderer context={context}>
{element}
</AsyncRenderer>
)
);

let result;
try {
if (staticMarkup) {
result = renderToStaticMarkup(component);
} else {
result = renderToString(component );
result = renderToString(component);
}
} catch (e) {
return context.reject(e);
Expand Down

0 comments on commit 2f89af8

Please sign in to comment.