register address

This commit is contained in:
Samandar Turgunboyev
2026-03-26 14:23:58 +05:00
parent fee9213c59
commit a671706fb3
12 changed files with 555 additions and 311 deletions

View File

@@ -31,7 +31,10 @@ export const CustomHeader = ({
<Image source={LogoText} style={{ width: 160, height: 30, objectFit: 'contain' }} />
</View>
{logoutbtn && (
<TouchableOpacity onPress={logout}>
<TouchableOpacity onPress={async () => {
await logout();
router.replace('/(auth)');
}}>
<LogOut color={'red'} />
</TouchableOpacity>
)}