Remove FxA dialog on file too big error

This commit is contained in:
Romain Hv 2021-03-15 20:58:47 +01:00
parent d03e83dd66
commit f58597cece
1 changed files with 0 additions and 3 deletions

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),