From 78c11f3b63fd96fa90926b3454657041b4d7d07c Mon Sep 17 00:00:00 2001 From: Oleksii Trekhleb Date: Tue, 28 Jan 2020 06:52:26 +0100 Subject: [PATCH] Update README. --- README.md | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 1e22346..398b451 100644 --- a/README.md +++ b/README.md @@ -23,23 +23,21 @@ let a = 42; Bad πŸ‘ŽπŸ» ```javascript -let age = 42 +let age = 42; ``` ### πŸ’© Always write comments in your local language -_You don’t want it to be readable by oversees teams._ - Good πŸ‘πŸ» ```javascript -// ОбновляСм состояниС ΠΊΠΎΠΌΠΏΠΎΠ½Π΅Π½Ρ‚Π° -setAge(42) +// Π—Π°ΠΊΡ€ΠΈΠ²Π°Ρ”ΠΌΠΎ модальнС Π²Ρ–ΠΊΠΎΠ½Π΅Ρ‡ΠΊΠΎ ΠΏΡ€ΠΈ Π²ΠΈΠ½ΠΈΠΊΠ½Π΅Π½Π½Ρ– ΠΏΠΎΠΌΠΈΠ»ΠΊΠΈ. +toggleModal(false); ``` Bad πŸ‘ŽπŸ» ```javascript -// Update component state -setAge(42) +// Hide modal window on error. +toggleModal(false); ``` \ No newline at end of file