From cf804af7de754aeb4f9f0ec7028d897df0ac471e Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Thu, 21 Dec 2023 03:22:47 -0300 Subject: [PATCH] frontend: inline map in Connections.tsx --- twenty-frontend/src/js/components/Connections.tsx | 10 +++++----- twenty-frontend/src/js/components/Issues.tsx | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/twenty-frontend/src/js/components/Connections.tsx b/twenty-frontend/src/js/components/Connections.tsx index 4a727da..9a9f841 100644 --- a/twenty-frontend/src/js/components/Connections.tsx +++ b/twenty-frontend/src/js/components/Connections.tsx @@ -3,14 +3,14 @@ import { useConnections } from "/hooks/useConnections"; export function Connections() { const [connections] = useConnections(); - const items = connections.map((conn, i) => { - return
  • {conn.name}
  • ; - }); - return ( <> Connections - + ); } diff --git a/twenty-frontend/src/js/components/Issues.tsx b/twenty-frontend/src/js/components/Issues.tsx index 0b2d5b7..8dd392e 100644 --- a/twenty-frontend/src/js/components/Issues.tsx +++ b/twenty-frontend/src/js/components/Issues.tsx @@ -10,7 +10,7 @@ export function Issues() {