This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (this.commonValidation()) { | |
return; | |
} | |
const schedule = R.selectors.shipmentTrackerRoutes.getEditableSchedules(this.store.getState()); | |
const originalSchedule = R.selectors.shipmentTrackerRoutes.getOriginalSchedules(this.store.getState()); | |
const isEqualSchedule = isEqual(schedule, originalSchedule); | |
const savedLegs = R.selectors.shipmentTrackerRoutes.getLegs(this.store.getState()); | |
const firstEtd = savedLegs[0].etdTime; | |
const isBefore = moment(schedule.terminalCutOff).isBefore(moment(firstEtd)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redux-devtools-extension | |
redux-logger | |
store.js | |
import { applyMiddleware, createStore } from 'redux'; | |
import createSagaMiddleware from 'redux-saga'; | |
import logger from 'redux-logger'; | |
import { composeWithDevTools } from 'redux-devtools-extension'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git checkout develop | |
git pull origin develop | |
git checkout my_branch | |
git rebase develop | |
// fix conflicts | |
git add your_files | |
git rebase --continue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git rebase --abort | |
git status | |
git log | |
git reset HEAD^^^ // ^ - one commit | |
git add -A | |
git commit -m "example" |