code formatting

This commit is contained in:
Amit Giri 2024-05-08 16:39:05 +05:30
parent 8cfe6fa145
commit 7b56bb015a
1 changed files with 6 additions and 1 deletions

View File

@ -110,7 +110,12 @@ const StatusView = (): React.ReactElement => {
headerLeft: isMasterDetail ? undefined : () => <HeaderButton.CancelModal onPress={goBack} />,
headerRight: () => (
<HeaderButton.Container>
<HeaderButton.Item title={I18n.t('Save')} disabled={(status === user.status && statusText === user.statusText)} onPress={submit} testID='status-view-submit' />
<HeaderButton.Item
title={I18n.t('Save')}
disabled={status === user.status && statusText === user.statusText}
onPress={submit}
testID='status-view-submit'
/>
</HeaderButton.Container>
)
});