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 }) => {
<div className="eventContent">
<h1 className="pageTitle">{entry.entryTitle}</h1>
{entry.content && (
{entry.composer && (
<ContentComposerAndy composer={entry.composer} /> //was postContent
)}
</div>
......
......@@ -25,13 +25,13 @@ const ContentComposerAndy = ({ className, composer }) => {
case 'markup':
return (
<div className="compField markup" key={idx}>
{field.value.markup}
{field.value}
</div>
);
case 'markupHtml':
return (
<div className="compField markup" key={idx}>
{field.value.markupHtml}
{field.value}
</div>
);
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