fix: we need pascalCase

This commit is contained in:
Derrick Hammer 2023-10-12 15:15:59 -04:00
parent 4798fc8b1b
commit 7c35c45904
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,9 @@ const LumeDashboard = (props: any) => {
</div>
{uniqueNetworkTypes.map((type, index) => (
<div className="mt-4 mb-8" key={`NetworkTypeSection_${index}`}>
<h2 className="text-xl mb-4">{camelCase(type)}</h2>
<h2 className="text-xl mb-4">
{camelCase(type, { pascalCase: true })}
</h2>
<div className="grid grid-cols-2">
{networks
.filter((network) => network.type === type)