mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 03:42:10 +03:00
profile edit, default values fix
This commit is contained in:
parent
33991844e7
commit
5b20ad79f8
@ -47,10 +47,12 @@ const FormInputView = ({
|
||||
|
||||
// TODO: Workaround for android context (copy/paste) menu, check react-navigation library
|
||||
useEffect(() => {
|
||||
setValue(' ');
|
||||
setTimeout(() => {
|
||||
setValue('');
|
||||
}, 1);
|
||||
if (!value) {
|
||||
setValue(' ');
|
||||
setTimeout(() => {
|
||||
setValue(value || '');
|
||||
}, 0);
|
||||
}
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user