mirror of
https://github.com/iib0011/omni-tools.git
synced 2025-11-15 04:18:34 +05:30
feat: ui changes
This commit is contained in:
parent
d4c544609a
commit
484b6e84ee
1 changed files with 1 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ import { Link, useNavigate } from 'react-router-dom';
|
||||||
import Typography from '@mui/material/Typography';
|
import Typography from '@mui/material/Typography';
|
||||||
import Button from '@mui/material/Button';
|
import Button from '@mui/material/Button';
|
||||||
import { useState } from 'react';
|
import { useState } from 'react';
|
||||||
|
import { categoriesColors } from 'config/uiConfig';
|
||||||
|
|
||||||
type ArrayElement<ArrayType extends readonly unknown[]> =
|
type ArrayElement<ArrayType extends readonly unknown[]> =
|
||||||
ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
ArrayType extends readonly (infer ElementType)[] ? ElementType : never;
|
||||||
|
|
@ -74,7 +75,6 @@ const SingleCategory = function ({
|
||||||
</Grid>
|
</Grid>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
const categoriesColors: string[] = ['#8FBC5D', '#3CB6E2', '#FFD400', '#AB6993'];
|
|
||||||
export default function Categories() {
|
export default function Categories() {
|
||||||
return (
|
return (
|
||||||
<Grid width={'80%'} container mt={2} spacing={2}>
|
<Grid width={'80%'} container mt={2} spacing={2}>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue