Files
DocsGPT/frontend/src
Eng Zer Jun 0efc2277dd refactor(frontend): simplify JSX conditional rendering
JSX conditional rendering can be simplified to use the logical AND
operator (&&) [1] instead of ternary operator (? :) if we want to render
something only when the conditon is true, and nothing otherwise.

[1]: https://react.dev/learn/conditional-rendering#logical-and-operator-

Signed-off-by: Eng Zer Jun <engzerjun@gmail.com>
2023-10-14 13:39:23 +08:00
..
2023-10-09 15:19:29 +05:30
2023-10-04 13:41:43 -04:00
2023-02-20 14:22:11 -05:00
2023-10-04 13:12:52 -04:00
2023-10-09 16:16:56 +05:30
2023-10-09 16:16:56 +05:30
2023-02-27 19:00:17 +00:00
2023-10-07 21:22:48 +05:30
2023-02-14 21:43:14 -05:00
2023-07-26 22:17:18 +01:00
2023-02-07 23:27:21 +05:30