Commit 5004f9b6 authored by W.D.R.P. Sandeepa's avatar W.D.R.P. Sandeepa

some changes

parent 75f9f3e6
......@@ -26,8 +26,6 @@ const Register = () => {
React.useEffect(() => {
const unsubscribe = navigation.addListener("focus", () => {
// The screen is focused
// Call any action
Orientation.unlockAllOrientations();
Orientation.lockToPortrait();
});
......@@ -50,7 +48,6 @@ const Register = () => {
setUserInfo({ ...userInfo, [fieldName]: value });
// console.log(value, fieldName);
};
const [ error, setError ] = useState('');
......
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