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