mirror of
https://github.com/hibiken/asynqmon.git
synced 2025-01-18 10:53:31 +08:00
(ui): Rename TasksTable to TasksTableContainer
This commit is contained in:
parent
bb26dda300
commit
cd6947ef20
@ -145,7 +145,7 @@ const useStyles = makeStyles((theme) => ({
|
||||
},
|
||||
}));
|
||||
|
||||
function TasksTable(props: Props & ReduxProps) {
|
||||
function TasksTableContainer(props: Props & ReduxProps) {
|
||||
const { currentStats } = props;
|
||||
const classes = useStyles();
|
||||
const history = useHistory();
|
||||
@ -259,4 +259,4 @@ function TasksTable(props: Props & ReduxProps) {
|
||||
);
|
||||
}
|
||||
|
||||
export default connector(TasksTable);
|
||||
export default connector(TasksTableContainer);
|
@ -3,7 +3,7 @@ import { connect, ConnectedProps } from "react-redux";
|
||||
import { makeStyles } from "@material-ui/core/styles";
|
||||
import Container from "@material-ui/core/Container";
|
||||
import Grid from "@material-ui/core/Grid";
|
||||
import TasksTable from "../components/TasksTable";
|
||||
import TasksTableContainer from "../components/TasksTableContainer";
|
||||
import QueueInfoBanner from "../components/QueueInfoBanner";
|
||||
import QueueBreadCrumb from "../components/QueueBreadcrumb";
|
||||
import { useParams } from "react-router-dom";
|
||||
@ -70,7 +70,7 @@ function TasksView(props: ConnectedProps<typeof connector>) {
|
||||
<QueueInfoBanner qname={qname} />
|
||||
</Grid>
|
||||
<Grid item xs={12} className={classes.tasksTable}>
|
||||
<TasksTable queue={qname} selected={selected} />
|
||||
<TasksTableContainer queue={qname} selected={selected} />
|
||||
</Grid>
|
||||
</Grid>
|
||||
</Container>
|
||||
|
Loading…
Reference in New Issue
Block a user