This commit is contained in:
wrzesinski-hubert 2021-01-25 19:09:41 +01:00
parent 4ac917649a
commit 4091525f61
3 changed files with 2 additions and 7 deletions

View File

@ -134,8 +134,6 @@ export const Administrator = () => {
const {data} = await axiosInstance.get(`${process.env.REACT_APP_API_URL}/api/v1/commisions/export/csv`,{responseType:"blob"}); const {data} = await axiosInstance.get(`${process.env.REACT_APP_API_URL}/api/v1/commisions/export/csv`,{responseType:"blob"});
console.log("123",xd);
const downloadUrl = window.URL.createObjectURL(new Blob([data])); const downloadUrl = window.URL.createObjectURL(new Blob([data]));
const link = document.createElement('a'); const link = document.createElement('a');

View File

@ -133,10 +133,6 @@ export const Statistics = () => {
}, []); }, []);
useEffect(() => {
console.log(loaded);
}, [loaded]);
return <StatisticsWrapper>{loaded === false ? <SyncLoader />:<><Row> return <StatisticsWrapper>{loaded === false ? <SyncLoader />:<><Row>
<StatisticBox> <StatisticBox>
<StatisticNumber>{createdGroupsNumber}</StatisticNumber> <StatisticNumber>{createdGroupsNumber}</StatisticNumber>

View File

@ -10,6 +10,7 @@ import { SelectMenu } from './SelectMenu';
import { studentsContext } from '../contexts/StudentsProvider'; import { studentsContext } from '../contexts/StudentsProvider';
import { CASContext } from '../contexts/CASProvider'; import { CASContext } from '../contexts/CASProvider';
import Tooltip from '@material-ui/core/Tooltip'; import Tooltip from '@material-ui/core/Tooltip';
import LogoPlanNaPlan from '../assets/logo.svg';
const Topbar = styled.div` const Topbar = styled.div`
background-color: #e3e5ed; background-color: #e3e5ed;
@ -180,7 +181,7 @@ export default function ({ handleTransfer }: TopbarProps) {
return ( return (
<Topbar> <Topbar>
<LogoWrapper> <LogoWrapper>
<Logo alt="logo" src="https://plannaplan.pl/img/logo.svg" /> <Logo alt="logo" src={LogoPlanNaPlan} />
<Text> plan na plan </Text> <Text> plan na plan </Text>
</LogoWrapper> </LogoWrapper>
<FlexboxColumn> <FlexboxColumn>