Skip to content

Commit cc33f27

Browse files
Make pagination an environmental variable
1 parent 8dcbfba commit cc33f27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ui/layouts/common/Table/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface TableProps {
3434
trOnClick?: (arg: any) => void;
3535
}
3636

37-
const ITEMS_PER_PAGE = 10;
37+
const ITEMS_PER_PAGE = parseInt(process.env.REACT_APP_ITEMS_PER_PAGE as string);
3838

3939
export const Table: React.FC<TableProps> = ({
4040
headerCols,

0 commit comments

Comments
 (0)