From 6535ad24c5d52666b087eba4a3678a73b323a858 Mon Sep 17 00:00:00 2001 From: Markus Thielker Date: Sun, 24 Nov 2024 00:06:39 +0100 Subject: [PATCH] NORY-1: remove unused setter --- authentication/src/components/sessionItem.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentication/src/components/sessionItem.tsx b/authentication/src/components/sessionItem.tsx index 83da881..44faa1e 100644 --- a/authentication/src/components/sessionItem.tsx +++ b/authentication/src/components/sessionItem.tsx @@ -19,7 +19,7 @@ export default function SessionItem({ session, showInvalidate, invalidateSession return; } - const [device, setDevice] = useState(session.devices[0]); + const [device] = useState(session.devices[0]); const parser = new UAParser(device.user_agent); const result = parser.getResult();