1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-15 23:00:36 +02:00

Desktop: Dev fix: Remove redundant handleHistory call. (#3216)

handleHistory calls have been moved out of the switch statement.
This commit is contained in:
Naveen M V
2020-05-16 18:12:27 +05:30
committed by GitHub
parent 3ee5deb9f3
commit d9601f3136

View File

@ -870,7 +870,6 @@ const reducer = (state = defaultState, action) => {
case 'SEARCH_UPDATE':
{
newState = handleHistory(state, action);
const searches = newState.searches.slice();
let found = false;
for (let i = 0; i < searches.length; i++) {