feat: merging complete
This commit is contained in:
@@ -1,14 +1,9 @@
|
||||
import { useState } from "react";
|
||||
import {
|
||||
StatisticsTab,
|
||||
StatisticsTabSegmentedControl,
|
||||
} from "../components/StatisticsTabSegmentedControl/StatisticsTabSegmentedControl.tsx";
|
||||
import { StatisticsTab } from "../components/StatisticsTabSegmentedControl/StatisticsTabSegmentedControl.tsx";
|
||||
import styles from "./StatisticsPage.module.css";
|
||||
import PageBlock from "../../../components/PageBlock/PageBlock.tsx";
|
||||
import { ProfitTab } from "../tabs/ProfitTab/ProfitTab.tsx";
|
||||
|
||||
export const StatisticsPage = () => {
|
||||
const [serviceType, setServiceType] = useState(StatisticsTab.PROFIT);
|
||||
const serviceType = StatisticsTab.PROFIT;
|
||||
|
||||
const getBody = () => {
|
||||
switch (serviceType) {
|
||||
@@ -16,10 +11,6 @@ export const StatisticsPage = () => {
|
||||
return (
|
||||
<ProfitTab />
|
||||
);
|
||||
case StatisticsTab.SALARIES:
|
||||
return (
|
||||
<>Статистика по ЗП</>
|
||||
);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user