Created
July 17, 2019 11:40
-
-
Save mehmetyilmaz001/87a69a21475408c889b1681f5a05834b to your computer and use it in GitHub Desktop.
This file contains 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
useEffect(() => { | |
if(_.has(createQuestionRes, 'hasError') && !createQuestionRes.hasError){ | |
history.push(getMenuItem('QA').path); | |
} | |
}, [createQuestionRes]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment