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 { Group } from '~/components/containers/Group';
|
||||
import { LabHeadItem } from '~/components/lab/LabHeadItem';
|
||||
import { LabNodesSort } from '~/types/lab';
|
||||
import { useLabContext } from '~/utils/context/LabContextProvider';
|
||||
|
@ -14,7 +15,7 @@ const LabHead: FC<IProps> = ({ isLoading }) => {
|
|||
const { sort, setSort } = useLabContext();
|
||||
|
||||
return (
|
||||
<div className={styles.wrap}>
|
||||
<Group className={styles.wrap} horizontal>
|
||||
<div className={styles.group}>
|
||||
<LabHeadItem
|
||||
icon="recent"
|
||||
|
@ -34,7 +35,7 @@ const LabHead: FC<IProps> = ({ isLoading }) => {
|
|||
Популярные
|
||||
</LabHeadItem>
|
||||
</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