From 7ad73f8b483d9bfbd94dada4910489132d156730 Mon Sep 17 00:00:00 2001 From: x032205 Date: Sat, 4 Oct 2025 21:49:48 -0400 Subject: [PATCH] Fix type check --- .../components/PamSessionLogsSection.tsx | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx index b0a2f9890..0e3854164 100644 --- a/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx +++ b/frontend/src/pages/pam/PamSessionsByIDPage/components/PamSessionLogsSection.tsx @@ -1,6 +1,6 @@ -import { faChevronRight, faChevronDown } from "@fortawesome/free-solid-svg-icons"; -import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { useState } from "react"; +import { faChevronDown, faChevronRight } from "@fortawesome/free-solid-svg-icons"; +import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { TPamSession } from "@app/hooks/api/pam"; @@ -33,10 +33,11 @@ export const PamSessionLogsSection = ({ session }: Props) => { session.commandLogs.map((log) => { const isExpanded = expandedLogTimestamps.has(log.timestamp); return ( -
toggleExpand(log.timestamp)} > @@ -63,7 +64,7 @@ export const PamSessionLogsSection = ({ session }: Props) => { {log.output}
)} - + ); }) ) : (