Skip to content

Commit

Permalink
fix nits
Browse files Browse the repository at this point in the history
  • Loading branch information
Tbaut committed Dec 4, 2024
1 parent a9cf269 commit dcf0845
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions packages/ui/src/components/modals/WalletConnectSigning.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const ProposalSigning = ({ onClose, className, request, onSuccess }: SigningModa
if (!callInfo?.call) return
return callInfo.call
}, [callInfo])
// this is a creation, we can force asMulti
// this is a creation, we can force axsulti
const multisigTx = useGetMultisigTx({
selectedMultisig,
extrinsicToCall,
Expand Down Expand Up @@ -208,10 +208,10 @@ const ProposalSigning = ({ onClose, className, request, onSuccess }: SigningModa
>
{isProxySelected && multisigList.length > 1 && (
<>
<Grid size={{ sm: 12, md: 2 }}>
<Grid size={{ xs: 12, md: 2 }}>
<h4>Using</h4>
</Grid>
<Grid size={{ sm: 12, md: 10 }}>
<Grid size={{ xs: 12, md: 10 }}>
<GenericAccountSelection
className="multiSelection"
accountList={multisigList}
Expand All @@ -226,32 +226,32 @@ const ProposalSigning = ({ onClose, className, request, onSuccess }: SigningModa
</Grid>
</>
)}
<Grid size={{ sm: 12, md: 2 }}>
<Grid size={{ xs: 12, md: 2 }}>
<h4>Signing with</h4>
</Grid>
<Grid size={{ sm: 12, md: 10 }}>
<Grid size={{ xs: 12, md: 10 }}>
<SignerSelection
possibleSigners={selectedMultisig?.signatories || []}
onChange={() => setErrorMessage('')}
/>
</Grid>
<Grid size={{ sm: 12, md: 2 }}>
<Grid size={{ xs: 12, md: 2 }}>
<h4>Call hash</h4>
</Grid>
<Grid size={{ sm: 12, md: 10 }}>
<Grid size={{ xs: 12, md: 10 }}>
<HashGridStyled>{callInfo?.hash}</HashGridStyled>
</Grid>

{!!callInfo?.call && (
<>
<Grid
size={{ sm: 12, md: 2 }}
size={{ xs: 12, md: 2 }}
alignSelf="flex-start"
>
<CallTitleStyled>Call</CallTitleStyled>
</Grid>
<Grid
size={{ sm: 12, md: 10 }}
size={{ xs: 12, md: 10 }}
className="callInfo"
>
<CallInfo
Expand All @@ -269,14 +269,14 @@ const ProposalSigning = ({ onClose, className, request, onSuccess }: SigningModa
<>
<Grid size={{ xs: 0, md: 2 }} />
<Grid
size={{ sm: 12, md: 10 }}
size={{ xs: 12, md: 10 }}
className="errorMessage"
>
<Alert severity="error">{errorMessage}</Alert>
</Grid>
</>
)}
<ButtonContainerStyled size={{ sm: 12 }}>
<ButtonContainerStyled size={{ xs: 12 }}>
{!isGettingCallInfo && (
<>
<Button
Expand Down Expand Up @@ -311,7 +311,7 @@ const ProposalSigning = ({ onClose, className, request, onSuccess }: SigningModa
const HashGridStyled = styled(Grid)`
overflow: hidden;
text-overflow: ellipsis;
font-size: small;
font-size: xsall;
`

const CallTitleStyled = styled('h4')`
Expand Down

0 comments on commit dcf0845

Please sign in to comment.