diff options
| author | Jules Laplace <julescarbon@gmail.com> | 2021-04-02 15:54:30 +0200 |
|---|---|---|
| committer | Jules Laplace <julescarbon@gmail.com> | 2021-04-02 15:54:30 +0200 |
| commit | a5edc770771479532f6e4af08e71b242744625d2 (patch) | |
| tree | 1445a098f8e5615d864f9006812b54c4db8f311b /frontend/app/views/tile/forms/tile.form.element.text.js | |
| parent | 353334c69f52a49c92618bb673dd11c506c383cd (diff) | |
mitigating some weird nav issues and FOUC
Diffstat (limited to 'frontend/app/views/tile/forms/tile.form.element.text.js')
| -rw-r--r-- | frontend/app/views/tile/forms/tile.form.element.text.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/frontend/app/views/tile/forms/tile.form.element.text.js b/frontend/app/views/tile/forms/tile.form.element.text.js index 425a605..7fd625a 100644 --- a/frontend/app/views/tile/forms/tile.form.element.text.js +++ b/frontend/app/views/tile/forms/tile.form.element.text.js @@ -5,9 +5,9 @@ import { Select, TextArea, Checkbox } from 'app/common' -import { TEXT_FONT_FAMILIES, TEXT_FONT_STYLES, MARQUEE_DIRECTIONS } from './tile.constants' +import { TEXT_FONT_STYLES, MARQUEE_DIRECTIONS } from './tile.constants' -export default function TileTextForm({ tile, errorFields, parent }) { +export default function TileTextForm({ tile, errorFields, parent, fontFamilies }) { return ( <div> <TextArea @@ -24,7 +24,7 @@ export default function TileTextForm({ tile, errorFields, parent }) { title="Font" name='font_family' selected={tile.settings.font_family || 'sans-serif'} - options={TEXT_FONT_FAMILIES} + options={fontFamilies} onChange={parent.handleSettingsSelect} /> <NumberInput |
