Commit a333c2c4 authored by Andy Lamb's avatar Andy Lamb
Browse files

debugged the composer field. Ugly but functional. Next stop - navigation

parent b4153411
Pipeline #40645 failed with stage
in 60 minutes and 1 second
...@@ -17,7 +17,7 @@ const AndyTestContent = ({ className, entry }) => { ...@@ -17,7 +17,7 @@ const AndyTestContent = ({ className, entry }) => {
<div className="eventContent"> <div className="eventContent">
<h1 className="pageTitle">{entry.entryTitle}</h1> <h1 className="pageTitle">{entry.entryTitle}</h1>
{entry.content && ( {entry.composer && (
<ContentComposerAndy composer={entry.composer} /> //was postContent <ContentComposerAndy composer={entry.composer} /> //was postContent
)} )}
</div> </div>
......
...@@ -25,13 +25,13 @@ const ContentComposerAndy = ({ className, composer }) => { ...@@ -25,13 +25,13 @@ const ContentComposerAndy = ({ className, composer }) => {
case 'markup': case 'markup':
return ( return (
<div className="compField markup" key={idx}> <div className="compField markup" key={idx}>
{field.value.markup} {field.value}
</div> </div>
); );
case 'markupHtml': case 'markupHtml':
return ( return (
<div className="compField markup" key={idx}> <div className="compField markup" key={idx}>
{field.value.markupHtml} {field.value}
</div> </div>
); );
default: default:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment