Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modernize JSX Attribute Syntax for className Update what-is-tia.js #419

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Modernize JSX Attribute Syntax for className Update what-is-tia.js
Refactor: Modernize JSX Attribute Syntax for className Concatenation
  • Loading branch information
0xbryer authored Nov 16, 2024
commit 3bcfa853a8a7fd8053df3a4a57369e2d30e173a6
2 changes: 1 addition & 1 deletion src/pages/what-is-tia.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const WhatIsTIA = () => {
<div className={"subtitle"} dangerouslySetInnerHTML={{ __html: heroData.text }} />
<a
href={`${heroData.buttons[0].url}`}
className={"mb-3 button button-" + heroData.buttons[0].class}
className={`mb-3 button button-${heroData.buttons[0]?.class}`}
target='_blank'
rel='noreferrer'
>
Expand Down