Skip to content

Commit a6d44b9

Browse files
committed
content: update react
1 parent 21f53e6 commit a6d44b9

File tree

1 file changed

+6
-6
lines changed
  • src/content/classnotes/react/introduction

1 file changed

+6
-6
lines changed

src/content/classnotes/react/introduction/index.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,29 +220,29 @@ export default function InvestmentCard(props) {
220220
<div className="bg-white shadow-md rounded-lg p-4 relative">
221221
<div className="flex justify-between items-center">
222222
<h3 className="investment-name text-lg font-semibold text-gray-700">
223-
{props, investment.name}
223+
{props.investment.name}
224224
</h3>
225225
<p className="investment-value text-lg font-semibold text-gray-700">
226-
{formatCurrency(props, investment.value / 100)}
226+
{formatCurrency(props.investment.value / 100)}
227227
</p>
228228
</div>
229229
<div className="mt-4">
230230
<p className="text-sm text-gray-500">
231231
<span className="font-bold mr-1">Origem:</span>
232-
<span className="investment-origin">{props, investment.origin}</span>
232+
<span className="investment-origin">{props.investment.origin}</span>
233233
</p>
234234
<p className="text-sm text-gray-500">
235235
<span className="font-bold mr-1">Categoria:</span>
236-
<span className="investment-category">{props, investment.category}</span>
236+
<span className="investment-category">{props.investment.category}</span>
237237
</p>
238238
<p className="text-sm text-gray-500">
239239
<span className="font-bold mr-1">Taxa:</span>
240-
<span className="investment-interest">{props, investment.interest}</span>
240+
<span className="investment-interest">{props.investment.interest}</span>
241241
</p>
242242
<p className="text-sm text-gray-500">
243243
<span className="font-bold mr-1">Data:</span>
244244
<span className="investment-created_at">
245-
{formatDate(props, investment.created_at)}
245+
{formatDate(props.investment.created_at)}
246246
</span>
247247
</p>
248248
</div>

0 commit comments

Comments
 (0)