Skip to content

Commit

Permalink
Replace className with class
Browse files Browse the repository at this point in the history
  • Loading branch information
BaldissaraMatheus committed Feb 11, 2024
1 parent eb16d5d commit 7e50707
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions frontend/src/components/expanded-card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -325,18 +325,18 @@ function ExpandedCard(props) {
return (
<>
<div
className={`modal-bg ${
class={`modal-bg ${
isMaximized() === "true" ? "modal-bg--maximized" : ""
}`}
onClick={props.onClose}
>
<div
className={`modal ${
class={`modal ${
isMaximized() === "true" ? "modal--maximized" : ""
}`}
onClick={(event) => event.stopPropagation()}
>
<div className="modal__toolbar">
<div class="modal__toolbar">
{nameInputValue() !== null ? (
<div class="input-and-error-msg">
<input
Expand Down Expand Up @@ -364,7 +364,7 @@ function ExpandedCard(props) {
{props.name || "NO NAME"}
</h1>
)}
<div className="modal__toolbar-btns">
<div class="modal__toolbar-btns">
<button
class="modal__toolbar-btn"
onClick={() =>
Expand All @@ -378,7 +378,7 @@ function ExpandedCard(props) {
</button>
</div>
</div>
<div className="modal__tags">
<div class="modal__tags">
{isCreatingNewTag() ? (
<>
<input
Expand All @@ -402,7 +402,7 @@ function ExpandedCard(props) {
<For each={props.tags || []}>
{(tag) => (
<div
className="tag tag--clicable"
class="tag tag--clicable"
style={{
"background-color": tag.backgroundColor,
"border-color": tag.backgroundColor,
Expand Down

0 comments on commit 7e50707

Please sign in to comment.