feat: remove duplicate lines

This commit is contained in:
Ibrahima G. Coulibaly
2025-03-02 02:58:50 +00:00
parent 1143672123
commit 71e052ab4d
11 changed files with 731 additions and 98 deletions

View File

@@ -7,6 +7,7 @@ import { DefinedTool } from '@tools/defineTool';
import { filterTools, tools } from '@tools/index';
import { useNavigate } from 'react-router-dom';
import _ from 'lodash';
import { Icon } from '@iconify/react';
const exampleTools: { label: string; url: string }[] = [
{
@@ -97,10 +98,13 @@ export default function Hero() {
{...props}
onClick={() => navigate('/' + option.path)}
>
<Box>
<Typography fontWeight={'bold'}>{option.name}</Typography>
<Typography fontSize={12}>{option.shortDescription}</Typography>
</Box>
<Stack direction={'row'} spacing={2} alignItems={'center'}>
<Icon fontSize={20} icon={option.icon} />
<Box>
<Typography fontWeight={'bold'}>{option.name}</Typography>
<Typography fontSize={12}>{option.shortDescription}</Typography>
</Box>
</Stack>
</Box>
)}
onKeyDown={(event) => {