fix: we need pascalCase
This commit is contained in:
parent
4798fc8b1b
commit
7c35c45904
|
@ -69,7 +69,9 @@ const LumeDashboard = (props: any) => {
|
||||||
</div>
|
</div>
|
||||||
{uniqueNetworkTypes.map((type, index) => (
|
{uniqueNetworkTypes.map((type, index) => (
|
||||||
<div className="mt-4 mb-8" key={`NetworkTypeSection_${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">
|
<div className="grid grid-cols-2">
|
||||||
{networks
|
{networks
|
||||||
.filter((network) => network.type === type)
|
.filter((network) => network.type === type)
|
||||||
|
|
Loading…
Reference in New Issue