From b261c716a9a0c8b53c511e8e70660013a4479ff3 Mon Sep 17 00:00:00 2001 From: Daniil Postoiuk Date: Mon, 24 Jul 2023 09:21:41 +0300 Subject: [PATCH] fixed changes --- src/App.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/App.tsx b/src/App.tsx index 86d977c66..a6fd4c3fc 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -22,7 +22,9 @@ export class App extends React.Component { return (
-

{pressedKey ? (`The last pressed key is [${pressedKey}]`) : ('Nothing was pressed yet')}

+

{pressedKey + ? (`The last pressed key is [${pressedKey}]`) + : ('Nothing was pressed yet')}

); }