diff --git a/public/index.html b/public/index.html index 4e7f926..faaa380 100644 --- a/public/index.html +++ b/public/index.html @@ -6,6 +6,7 @@ + Phono Change Applier diff --git a/src/PhonoChangeApplier.scss b/src/PhonoChangeApplier.scss index 9911062..435a091 100644 --- a/src/PhonoChangeApplier.scss +++ b/src/PhonoChangeApplier.scss @@ -8,6 +8,11 @@ div.App { padding: 1em 0; } + h3 { + font-size: 1.25em; + padding: 0.5em 0; + } + div.PhonoChangeApplier { display: grid; width: 100%; diff --git a/src/components/ProtoLang.js b/src/components/ProtoLang.js index 36d8bec..c0b7330 100644 --- a/src/components/ProtoLang.js +++ b/src/components/ProtoLang.js @@ -3,12 +3,11 @@ import './ProtoLang.scss'; const ProtoLang = ({ lexicon, dispatch }) => { const getProperty = property => object => object[property]; - const renderLexicon = () => { if (!lexicon) return ''; // Code for optionally rendering epoch name with lexeme // `\t#${lexeme.epoch.name}` - lexicon.map(getProperty('lexeme')).join('\n'); + return lexicon.map(getProperty('lexeme')).join('\n'); } return ( @@ -18,6 +17,8 @@ const ProtoLang = ({ lexicon, dispatch }) => {