code review changes, attempt at FF fix

This commit is contained in:
or-else
2021-09-15 11:16:10 -07:00
parent 84df30a767
commit 3a46599e79
8 changed files with 73 additions and 69 deletions
+4 -2
View File
@@ -1,13 +1,15 @@
import React from 'react';
import { defineMessages } from 'react-intl';
import { Drafty } from 'tinode-sdk';
import UploadingImage from '../widgets/uploading-image.jsx'
import { IMAGE_THUMBNAIL_DIM, BROKEN_IMAGE_SIZE, REM_SIZE } from '../config.js';
import { fitImageSize } from './blob-helpers.js';
import { idToColorClass } from './strformat.js';
import { sanitizeImageUrl } from './utils.js';
import { Drafty } from 'tinode-sdk';
const messages = defineMessages({
drafty_form: {
id: 'drafty_form',