mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
added group to LabHead
This commit is contained in:
parent
948f3a7e04
commit
26a6d2d919
2 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
||||||
import React, { FC } from 'react';
|
import React, { FC } from 'react';
|
||||||
|
|
||||||
|
import { Group } from '~/components/containers/Group';
|
||||||
import { LabHeadItem } from '~/components/lab/LabHeadItem';
|
import { LabHeadItem } from '~/components/lab/LabHeadItem';
|
||||||
import { LabNodesSort } from '~/types/lab';
|
import { LabNodesSort } from '~/types/lab';
|
||||||
import { useLabContext } from '~/utils/context/LabContextProvider';
|
import { useLabContext } from '~/utils/context/LabContextProvider';
|
||||||
|
@ -14,7 +15,7 @@ const LabHead: FC<IProps> = ({ isLoading }) => {
|
||||||
const { sort, setSort } = useLabContext();
|
const { sort, setSort } = useLabContext();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={styles.wrap}>
|
<Group className={styles.wrap} horizontal>
|
||||||
<div className={styles.group}>
|
<div className={styles.group}>
|
||||||
<LabHeadItem
|
<LabHeadItem
|
||||||
icon="recent"
|
icon="recent"
|
||||||
|
@ -34,7 +35,7 @@ const LabHead: FC<IProps> = ({ isLoading }) => {
|
||||||
Популярные
|
Популярные
|
||||||
</LabHeadItem>
|
</LabHeadItem>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</Group>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue