fix prettier errors

This commit is contained in:
Labhansh Agrawal 2020-03-25 15:45:08 +05:30 committed by Benjamin Staneck
parent d2d31e346a
commit 41b1ac1852
39 changed files with 150 additions and 153 deletions

View file

@ -4,7 +4,7 @@ import {Middleware} from 'redux';
// the only side effect we perform from middleware
// is to write to the react term instance directly
// to avoid a performance hit
const writeMiddleware: Middleware = () => next => action => {
const writeMiddleware: Middleware = () => (next) => (action) => {
if (action.type === 'SESSION_PTY_DATA') {
const term = terms[action.uid];
if (term) {