diff options
| author | Ilja <ilja@ilja.space> | 2022-03-21 09:49:06 +0100 |
|---|---|---|
| committer | Ilja <ilja@ilja.space> | 2022-03-21 09:49:06 +0100 |
| commit | 88ad5033a876b648c7e07d222cf808bc71273e49 (patch) | |
| tree | 4e72d8fb15ff51347c03229436d8abc39d940e20 /src/components/rich_content/rich_content.jsx | |
| parent | 89c409c6d2277170f36e452e8ea316ca45989e3f (diff) | |
Use empty array for emji instead
Instead of relying on a key that isn't actually usefull, I just provide an empty array directly.
Diffstat (limited to 'src/components/rich_content/rich_content.jsx')
| -rw-r--r-- | src/components/rich_content/rich_content.jsx | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/components/rich_content/rich_content.jsx b/src/components/rich_content/rich_content.jsx index 7096ca49..46bc661a 100644 --- a/src/components/rich_content/rich_content.jsx +++ b/src/components/rich_content/rich_content.jsx @@ -42,8 +42,7 @@ export default Vue.component('RichContent', { // Emoji object, as in status.emojis, note the "s" at the end... emoji: { required: true, - type: Array, - default: () => [] + type: Array }, // Whether to handle links or not (posts: yes, everything else: no) handleLinks: { |
