Update transactions.js

This commit is contained in:
marcosrdz 2020-09-10 09:16:19 -04:00 committed by Overtorment
parent e73b5414e5
commit 3520123b9b

View File

@ -181,7 +181,7 @@ const WalletTransactions = () => {
const { wallet } = useRoute().params;
const name = useRoute().name;
const [itemPriceUnit, setItemPriceUnit] = useState(wallet.getPreferredBalanceUnit());
const [dataSource, setDataSource] = useState([]);
const [dataSource, setDataSource] = useState(wallet.getTransactions(15));
const [timeElapsed, setTimeElapsed] = useState(0);
const [limit, setLimit] = useState(15);
const [pageSize, setPageSize] = useState(20);