mirror of
https://github.com/facebook/docusaurus.git
synced 2025-05-18 03:26:57 +02:00
fix(v2): swizzle should receive correct load context (#1844)
* fix(v2): swizzle should receive correct load context * new prettier version * niits
This commit is contained in:
parent
b82e211546
commit
d96b5f99b9
21 changed files with 480 additions and 460 deletions
|
@ -44,9 +44,7 @@ class BlogPost extends React.Component {
|
|||
}`;
|
||||
if (post.authorFBID || post.authorImageURL) {
|
||||
const authorImageURL = post.authorFBID
|
||||
? `https://graph.facebook.com/${
|
||||
post.authorFBID
|
||||
}/picture/?height=200&width=200`
|
||||
? `https://graph.facebook.com/${post.authorFBID}/picture/?height=200&width=200`
|
||||
: post.authorImageURL;
|
||||
return (
|
||||
<div className={className}>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue