Skip to content

Commit

Permalink
feature(wallet-mobile): new tx review for yoroi governance
Browse files Browse the repository at this point in the history
  • Loading branch information
banklesss committed Oct 16, 2024
1 parent 92b7970 commit 4f607fd
Showing 1 changed file with 0 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -366,39 +366,6 @@ const isTxConfirmed = (txId: string, txInfos: Record<string, TransactionInfo>) =
return Object.values(txInfos).some((tx) => tx.id === txId)
}

const RegisterStakingKeyOperation = () => {
const {styles} = useStyles()
const strings = useStrings()

return (
<View style={styles.operation}>
<Text style={styles.operationText}>{strings.registerStakingKey}</Text>
</View>
)
}

const AbstainOperation = () => {
const {styles} = useStyles()
const strings = useStrings()

return (
<View style={styles.operation}>
<Text style={styles.operationText}>{strings.selectAbstain}</Text>
</View>
)
}

const NoConfidenceOperation = () => {
const {styles} = useStyles()
const strings = useStrings()

return (
<View style={styles.operation}>
<Text style={styles.operationText}>{strings.selectNoConfidence}</Text>
</View>
)
}

const useStyles = () => {
const {color, atoms} = useTheme()

Expand Down Expand Up @@ -430,14 +397,6 @@ const useStyles = () => {
color: color.text_gray_low,
...atoms.body_3_sm_regular,
},
operation: {
...atoms.flex_row,
...atoms.align_center,
},
operationText: {
...atoms.body_2_md_regular,
color: color.text_gray_medium,
},
})

return {styles} as const
Expand Down

0 comments on commit 4f607fd

Please sign in to comment.