Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Jun 24, 2024
1 parent f4ea601 commit f59f6f8
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions src/reducers/globalState.js
Original file line number Diff line number Diff line change
Expand Up @@ -414,17 +414,16 @@ export default function reducer(_state, action) {
}
break;
case Types.ACTION_UPDATE_SEGMENT_RANGE: {

if (!action.log_id) {
state.segmentRange = null;
}
state.segmentRange = {
log_id: action.log_id,
start: action.start,
end: action.end,
};
break;
if (!action.log_id) {
state.segmentRange = null;
}
state.segmentRange = {
log_id: action.log_id,
start: action.start,
end: action.end,
};
break;
}
default:
return state;
}
Expand Down

0 comments on commit f59f6f8

Please sign in to comment.