remove reference to Firefox account when file is too big (#5138)

This commit is contained in:
Romain H 2021-03-06 12:15:20 +01:00
parent 2b0c5c1bf7
commit 05c5917044

View File

@ -101,9 +101,6 @@ export default function(state, emitter) {
state.LIMITS.MAX_FILES_PER_ARCHIVE
);
} catch (e) {
if (e.message === 'fileTooBig' && maxSize < state.LIMITS.MAX_FILE_SIZE) {
return emitter.emit('signup-cta', 'size');
}
state.modal = okDialog(
state.translate(e.message, {
size: bytes(maxSize),