Removing immutable model for daily ly limit

This commit is contained in:
apanizo 2018-10-15 15:15:15 +02:00
parent d97e61993c
commit 70da5608b3
3 changed files with 2 additions and 18 deletions

View File

@ -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

View File

@ -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>

View File

@ -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>