i am using this
useEffect(() => { const navFocusListener = navigation.addListener(\'didFocus\', () => { console.log(\'focus\'); });