mirror of
https://github.com/gethomepage/homepage.git
synced 2025-12-07 09:35:54 -08:00
don't double toLowerCase fields in component
This commit is contained in:
@@ -38,10 +38,9 @@ export default function Component({ service }) {
|
||||
const fields = makeFields(widget.fields);
|
||||
return (
|
||||
<Container service={service}>
|
||||
{fields.map((Field) => {
|
||||
const field = Field.toLowerCase();
|
||||
return <Block key={field} label={`suwayomi.${field}`} />;
|
||||
})}
|
||||
{fields.map((field) => (
|
||||
<Block key={field} label={`suwayomi.${field}`} />
|
||||
))}
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user