Skip to content

Commit

Permalink
minor update
Browse files Browse the repository at this point in the history
  • Loading branch information
cretadn22 committed Feb 6, 2025
1 parent 6f1f09d commit 2a24bbc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ function UpdateDelegateMagicCodeModal({login, role, isValidateCodeActionModalVis
<ValidateCodeActionModal
clearError={clearError}
onClose={onBackButtonPress}
isLoading={currentDelegate?.isLoading}
validateError={updateDelegateErrors}
isVisible={isValidateCodeActionModalVisible}
title={translate('delegate.makeSureItIsYou')}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React, {useEffect, useState} from 'react';
import {ValueOf} from 'type-fest';
import type {ValueOf} from 'type-fest';
import DelegateNoAccessWrapper from '@components/DelegateNoAccessWrapper';
import HeaderWithBackButton from '@components/HeaderWithBackButton';
import ScreenWrapper from '@components/ScreenWrapper';
Expand Down Expand Up @@ -83,7 +83,7 @@ function UpdateDelegateRolePage({route}: UpdateDelegateRolePageProps) {
sections={[{data: roleOptions}]}
ListItem={RadioListItem}
/>
{newRole && (
{!!newRole && (
<UpdateDelegateMagicCodeModal
login={login}
role={newRole}
Expand Down

0 comments on commit 2a24bbc

Please sign in to comment.