website refactor
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
import React from 'react';
|
||||
import { Box } from './primitives/Box';
|
||||
import { Icon } from './Icon';
|
||||
import { Tag } from 'lucide-react';
|
||||
import { Box } from './Box';
|
||||
import { Icon } from './Icon';
|
||||
|
||||
export interface CategoryIconProps {
|
||||
category: string;
|
||||
@@ -9,9 +8,7 @@ export interface CategoryIconProps {
|
||||
}
|
||||
|
||||
export const CategoryIcon = ({
|
||||
category,
|
||||
size = 24
|
||||
}: CategoryIconProps) => {
|
||||
category}: CategoryIconProps) => {
|
||||
// Map categories to icons if needed, for now just use Tag
|
||||
return (
|
||||
<Box
|
||||
|
||||
Reference in New Issue
Block a user