Skip to content

Commit ce7ff1c

Browse files
sujal-cskart1kaanikdhabal
authored
fix(signup): add missing key prop to feature list (calcom#21437) (calcom#21506)
* fix(signup): add missing key prop to feature list (calcom#21437) * refactor --------- Co-authored-by: Kartik Saini <41051387+kart1ka@users.noreply.github.com> Co-authored-by: Anik Dhabal Babu <81948346+anikdhabal@users.noreply.github.com>
1 parent e27e41b commit ce7ff1c

1 file changed

Lines changed: 16 additions & 18 deletions

File tree

apps/web/modules/signup-view.tsx

Lines changed: 16 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -691,25 +691,23 @@ export default function Signup({
691691
/>
692692
</div>
693693
<div className="mr-12 mt-8 hidden h-full w-full grid-cols-3 gap-4 overflow-hidden lg:grid">
694-
{FEATURES.map((feature) => (
695-
<>
696-
<div className="max-w-52 mb-8 flex flex-col leading-none sm:mb-0">
697-
<div className="text-emphasis items-center">
698-
<Icon name={feature.icon} className="mb-1 h-4 w-4" />
699-
<span className="text-sm font-medium">{t(feature.title)}</span>
700-
</div>
701-
<div className="text-subtle text-sm">
702-
<p>
703-
{t(
704-
feature.description,
705-
feature.i18nOptions && {
706-
...feature.i18nOptions,
707-
}
708-
)}
709-
</p>
710-
</div>
694+
{FEATURES.map((feature, index) => (
695+
<div key={index} className="max-w-52 mb-8 flex flex-col leading-none sm:mb-0">
696+
<div className="text-emphasis items-center">
697+
<Icon name={feature.icon} className="mb-1 h-4 w-4" />
698+
<span className="text-sm font-medium">{t(feature.title)}</span>
711699
</div>
712-
</>
700+
<div className="text-subtle text-sm">
701+
<p>
702+
{t(
703+
feature.description,
704+
feature.i18nOptions && {
705+
...feature.i18nOptions,
706+
}
707+
)}
708+
</p>
709+
</div>
710+
</div>
713711
))}
714712
</div>
715713
</div>

0 commit comments

Comments
 (0)