about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/local_settings/page
diff options
context:
space:
mode:
authorReverite <github@reverite.sh>2019-07-02 13:42:49 -0600
committerReverite <github@reverite.sh>2019-07-02 13:42:49 -0600
commit100bb17b1317f07c0eaa89da869f960b6cff611f (patch)
treebd20b32e52893e2cd206d26356a82091d7091514 /app/javascript/flavours/glitch/features/local_settings/page
parent01e77afe9a0dc126506cfc98d8f5d330f4a2f076 (diff)
parentc94966891af1ff456c6382595c07c2d68c57ec49 (diff)
Merge branch 'glitch' into production
Diffstat (limited to 'app/javascript/flavours/glitch/features/local_settings/page')
-rw-r--r--app/javascript/flavours/glitch/features/local_settings/page/item/index.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/app/javascript/flavours/glitch/features/local_settings/page/item/index.js b/app/javascript/flavours/glitch/features/local_settings/page/item/index.js
index 66b937365..5a68523f6 100644
--- a/app/javascript/flavours/glitch/features/local_settings/page/item/index.js
+++ b/app/javascript/flavours/glitch/features/local_settings/page/item/index.js
@@ -8,7 +8,7 @@ import ImmutablePropTypes from 'react-immutable-proptypes';
 export default class LocalSettingsPageItem extends React.PureComponent {
 
   static propTypes = {
-    children: PropTypes.element.isRequired,
+    children: PropTypes.node.isRequired,
     dependsOn: PropTypes.array,
     dependsOnNot: PropTypes.array,
     id: PropTypes.string.isRequired,
@@ -63,12 +63,12 @@ export default class LocalSettingsPageItem extends React.PureComponent {
               disabled={!enabled}
             />
             {opt.message}
-            {opt.hint && <span class='hint'>{opt.hint}</span>}
+            {opt.hint && <span className='hint'>{opt.hint}</span>}
           </label>
         );
       });
       return (
-        <div class='glitch local-settings__page__item radio_buttons'>
+        <div className='glitch local-settings__page__item radio_buttons'>
           <fieldset>
             <legend>{children}</legend>
             {optionElems}