From 88313dbfe5a232648406ddf3fa1b3932626fe507 Mon Sep 17 00:00:00 2001 From: "lam.pt" Date: Thu, 18 Sep 2025 22:01:42 +0700 Subject: [PATCH] Update file --- error.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/error.jsx b/error.jsx index 7b3beeb..21cf9f6 100644 --- a/error.jsx +++ b/error.jsx @@ -7,8 +7,6 @@ function MyComponent(props) { return 'unused'; } - const name = props.username; - const arr = [1,2,3]; const list = arr.map(item =>
  • {item}
  • ); @@ -16,6 +14,11 @@ function MyComponent(props) { let result = value + 1; + const test = null; + if (test) { + console.log('This will never log'); + } + setCount(count++); return ( @@ -23,7 +26,6 @@ function MyComponent(props) { Test {list} -

    {name}

    Unwrapped

    )