Skip to content

Commit

Permalink
Fixed #238
Browse files Browse the repository at this point in the history
  • Loading branch information
nishad0011 committed Jul 31, 2024
1 parent 2646d22 commit f5d07a8
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/pages/Resources.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,11 @@ const Resources = () => {
<ResourceSection
key={index}
id={key}
title={key.replace(/(^[a-z])/g,($1)=>{return $1.toUpperCase()})
.replace(/([A-Z])/g," $1")}
title={
key
.replace(/(^[a-z])/g,($1)=>{return $1.toUpperCase()})
.replace(/([A-Z])/g," $1")
}
resources={filteredResources[key]}
/>
))}
Expand Down

0 comments on commit f5d07a8

Please sign in to comment.