Skip to content

Commit

Permalink
update: устранение warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
southatelove committed Sep 11, 2024
1 parent ba43a50 commit 70b1caf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import React, { lazy, Suspense } from "react";
import React, { lazy } from "react";
import ReactDOM from "react-dom/client";

import "./styles/index.css";
Expand Down
2 changes: 1 addition & 1 deletion src/pages/InfoProduct/InfoProduct.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ export function InfoProduct() {
<p>Состав:</p>
<div className={styles["ingredients"]}>
{data.ingredients.map((ingredient) => (
<ul>
<ul key={ingredient}>
<li>{ingredient}</li>
</ul>
))}
Expand Down

0 comments on commit 70b1caf

Please sign in to comment.