Commit 84dda426 authored by Neranga K.T.'s avatar Neranga K.T.

.

parent e8f6ac2f
......@@ -9,10 +9,10 @@ import Countdown from '../../../constants/Countdown';
const GameScreenOne = ({navigation}) => {
// useEffect(()=>{
// const backHandler = BackHandler.addEventListener('hardwareBackPress', () => true)
// return () => backHandler.remove()
// },[]);
useEffect(()=>{
const backHandler = BackHandler.addEventListener('hardwareBackPress', () => true)
return () => backHandler.remove()
},[]);
const dispatch = useDispatch();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment