Skip to content

Commit 34dd2ce

Browse files
authored
Update conditional-rendering.md
1 parent 8614b9e commit 34dd2ce

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

src/content/learn/conditional-rendering.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -626,11 +626,7 @@ export default function PackingList() {
626626

627627
Звярніце ўвагу, што трэба пісаць `importance > 0 && ...`, а не `importance && ...`, каб пры `importance` роўным `0` у выніку не рэндэрылася лічба `0`!
628628

629-
<<<<<<< HEAD
630629
У гэтым рашэнні дзве асобныя ўмовы выкарыстоўваюцца для ўстаўкі прабелу паміж іменем і меткай важнасці. Але замест гэтага вы таксама можаце выкарыстоўваць фрагмент з прабелам у пачатку: `importance > 0 && <> <i>...</i></>` або дадаць прабел непасрэдна ўнутры `<i>`: `importance > 0 && <i> ...</i>`.
631-
=======
632-
In this solution, two separate conditions are used to insert a space between the name and the importance label. Alternatively, you could use a Fragment with a leading space: `importance > 0 && <> <i>...</i></>` or add a space immediately inside the `<i>`: `importance > 0 && <i> ...</i>`.
633-
>>>>>>> 4f9e9a56611c7a56b9506cf0a7ca84ab409824bc
634630

635631
</Solution>
636632

0 commit comments

Comments
 (0)