Skip to content

Commit

Permalink
fix: correct placement of transfer sites screen FAB (#2749)
Browse files Browse the repository at this point in the history
  • Loading branch information
tm-ruxandra authored Jan 3, 2025
1 parent 7768710 commit 2f167cf
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -248,21 +248,21 @@ export const SiteTransferProjectScreen = ({projectId}: Props) => {
</Accordion>
);
})}
<ConfirmModal
trigger={onOpen => (
<Fab
label={t('projects.sites.transfer')}
onPress={onOpen}
disabled={disabled}
/>
)}
destructive={false}
title={t('projects.sites.transfer_site_modal.title')}
body={t('projects.sites.transfer_site_modal.body')}
actionLabel={t('projects.sites.transfer_site_modal.action_name')}
handleConfirm={onSubmit}
/>
</ScrollView>
<ConfirmModal
trigger={onOpen => (
<Fab
label={t('projects.sites.transfer')}
onPress={onOpen}
disabled={disabled}
/>
)}
destructive={false}
title={t('projects.sites.transfer_site_modal.title')}
body={t('projects.sites.transfer_site_modal.body')}
actionLabel={t('projects.sites.transfer_site_modal.action_name')}
handleConfirm={onSubmit}
/>
</ScreenScaffold>
)}
</ScreenDataRequirements>
Expand Down

0 comments on commit 2f167cf

Please sign in to comment.