Remove Chip filter list as it's not required right now

This commit is contained in:
Scott Merchant 2024-06-09 10:38:57 +09:30 committed by Zoe Roux
parent 2bf4b93b50
commit b8db1fb151
No known key found for this signature in database

View File

@ -109,8 +109,6 @@ export const BrowseSettings = ({
}) => { }) => {
const { css, theme } = useYoshiki(); const { css, theme } = useYoshiki();
const { t } = useTranslation(); const { t } = useTranslation();
const filters: string[] = [];
// TODO: implement filters in the front.
return ( return (
<> <>
@ -178,26 +176,6 @@ export const BrowseSettings = ({
</Menu> </Menu>
</View> </View>
</View> </View>
<View
{...css({
flexDirection: "row-reverse",
alignItems: "center",
marginX: ts(4),
marginY: ts(1),
zIndex: 1,
})}
>
{filters.length !== 0 && (
<View {...css({ flexGrow: 1, flexDirection: "row", alignItems: "center" })}>
{/*<Icon icon={Style} {...css({ marginX: ts(1) })} />*/}
{filters.map((x) => (
<div style={{paddingRight: ".25rem"}}>
<Chip key={x} label={x} size={"small"} />
</div>
))}
</View>
)}
</View>
</> </>
); );
}; };