mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 00:44:14 +00:00
fix: fix some types
This commit is contained in:
parent
dc9da85e68
commit
04061e23c3
2 changed files with 9 additions and 2 deletions
|
|
@ -45,8 +45,15 @@ export function Categories() {
|
|||
functional={false}
|
||||
icon={<BiSolidHeart />}
|
||||
id="favorites"
|
||||
sounds={favoriteSounds}
|
||||
title="Favorites"
|
||||
sounds={
|
||||
favoriteSounds as Array<{
|
||||
src: string;
|
||||
label: string;
|
||||
id: string;
|
||||
icon: React.ReactNode;
|
||||
}>
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ interface CategoryProps {
|
|||
icon: React.ReactNode;
|
||||
title: string;
|
||||
id: string;
|
||||
functional: boolean;
|
||||
functional?: boolean;
|
||||
sounds: Array<{
|
||||
label: string;
|
||||
src: string;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue