Skip to content

Commit

Permalink
move constants
Browse files Browse the repository at this point in the history
  • Loading branch information
jessopb committed Apr 13, 2020
1 parent 9ba13ca commit 5c86b3d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 38 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"imagesloaded": "^4.1.4",
"json-loader": "^0.5.4",
"lbry-format": "https://github.com/lbryio/lbry-format.git",
"lbry-redux": "lbryio/lbry-redux#b4366cee3226e6c8f592cf0cf6db28651cf8ef7e",
"lbry-redux": "lbryio/lbry-redux#411803e7e5e6015a9443e0c086a35561fac30f6e",
"lbryinc": "lbryio/lbryinc#0addc624db54000b0447f4539f91f5758d26eef3",
"lint-staged": "^7.0.2",
"localforage": "^1.7.1",
Expand Down
7 changes: 2 additions & 5 deletions ui/component/txoList/view.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
// @flow
import React, { useEffect } from 'react';
import { withRouter } from 'react-router';

import { TX_LIST } from 'lbry-redux';
import * as TXO from 'constants/txo_list';

import { TXO_LIST as TXO } from 'lbry-redux';
import TransactionListTable from 'component/transactionListTable';
import Paginate from 'component/common/paginate';
// import FileExporter from '../common/file-exporter'; // reimplement as modal
Expand Down Expand Up @@ -35,7 +32,7 @@ function TxoList(props: Props) {
// parse urlParams
const urlParams = new URLSearchParams(search);
const page = urlParams.get(TXO.PAGE) || String(1);
const pageSize = urlParams.get(TXO.PAGE_SIZE) || String(TX_LIST.PAGE_SIZE);
const pageSize = urlParams.get(TXO.PAGE_SIZE) || String(TXO.PAGE_SIZE_DEFAULT);
const type = urlParams.get(TXO.TYPE);
const subtype = urlParams.get(TXO.SUB_TYPE);
const active = urlParams.get(TXO.ACTIVE) || TXO.ACTIVE;
Expand Down
32 changes: 0 additions & 32 deletions ui/constants/txo_list.js

This file was deleted.

0 comments on commit 5c86b3d

Please sign in to comment.