Removing immutable model for daily ly limit
This commit is contained in:
parent
d97e61993c
commit
70da5608b3
|
@ -12,7 +12,7 @@ type Props = {
|
|||
|
||||
export const SEE_MULTISIG_BUTTON_TEXT = 'TXs'
|
||||
|
||||
const DailyLimitComponent = ({ onSeeTxs }: Props) => {
|
||||
const MultisigTransactionsComponent = ({ onSeeTxs }: Props) => {
|
||||
const text = 'See multisig txs executed on this Safe'
|
||||
|
||||
return (
|
||||
|
@ -32,4 +32,4 @@ const DailyLimitComponent = ({ onSeeTxs }: Props) => {
|
|||
)
|
||||
}
|
||||
|
||||
export default DailyLimitComponent
|
||||
export default MultisigTransactionsComponent
|
||||
|
|
|
@ -1,15 +0,0 @@
|
|||
// @flow
|
||||
import { Record } from 'immutable'
|
||||
import type { RecordFactory, RecordOf } from 'immutable'
|
||||
|
||||
export type DailyLimitProps = {
|
||||
value: number,
|
||||
spentToday: number,
|
||||
}
|
||||
|
||||
export const makeDailyLimit: RecordFactory<DailyLimitProps> = Record({
|
||||
value: 0,
|
||||
spentToday: 0,
|
||||
})
|
||||
|
||||
export type DailyLimit = RecordOf<DailyLimitProps>
|
|
@ -19,7 +19,6 @@ const SafeTable = ({ safes }: Props) => (
|
|||
<TableCell>Deployed Address</TableCell>
|
||||
<TableCell numeric>Confirmations</TableCell>
|
||||
<TableCell numeric>Number of owners</TableCell>
|
||||
<TableCell numeric>Daily Limit</TableCell>
|
||||
</TableRow>
|
||||
</TableHead>
|
||||
<TableBody>
|
||||
|
|
Loading…
Reference in New Issue