mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-20 06:56:18 -05:00
Adding useTitle to every function page.
This commit is contained in:
parent
1033b0c38f
commit
5bf648001b
12 changed files with 55 additions and 12 deletions
|
|
@ -1,6 +1,6 @@
|
|||
import {Header, Progress, Statistic, StatisticGroup} from "../Theme";
|
||||
import React, {useContext} from "react";
|
||||
import {humanBandwidth, humanFileSize, LoadStatistic} from "../Common";
|
||||
import {humanBandwidth, humanFileSize, LoadStatistic, useTitle} from "../Common";
|
||||
import {Divider, Responsive} from "semantic-ui-react";
|
||||
import {ProgressPlaceholder} from "../Placeholder";
|
||||
import Grid from "semantic-ui-react/dist/commonjs/collections/Grid";
|
||||
|
|
@ -141,6 +141,8 @@ export function CPUUsageProgress({value, label}) {
|
|||
}
|
||||
|
||||
export function Status() {
|
||||
useTitle('Status');
|
||||
|
||||
const {status} = useContext(StatusContext);
|
||||
|
||||
let percent;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue