1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-04-25 04:46:40 +07:00

removed boris reducer

This commit is contained in:
Fedor Katurov 2022-01-02 21:28:31 +07:00
parent 77af1ab05a
commit 120bf8954c
72 changed files with 225 additions and 298 deletions

View file

@ -1,17 +1,18 @@
import React, { FC } from 'react';
import { BorisUsageStats } from '~/redux/boris/reducer';
import { BorisUsageStats } from '~/types/boris';
import { BorisStatsGit } from '../BorisStatsGit';
import { BorisStatsBackend } from '../BorisStatsBackend';
interface IProps {
stats: BorisUsageStats;
isLoading: boolean;
}
const BorisStats: FC<IProps> = ({ stats }) => {
const BorisStats: FC<IProps> = ({ stats, isLoading }) => {
return (
<>
<BorisStatsBackend stats={stats} />
<BorisStatsGit stats={stats} />
<BorisStatsBackend stats={stats.backend} isLoading={isLoading} />
<BorisStatsGit issues={stats.issues} isLoading={isLoading} />
</>
);
};