Skip to content

Commit d948e08

Browse files
author
Vikhyath Mondreti
committed
fix selection on closing sidebar
1 parent b7919aa commit d948e08

File tree

1 file changed

+2
-0
lines changed
  • apps/sim/app/workspace/[workspaceId]/logs

1 file changed

+2
-0
lines changed

apps/sim/app/workspace/[workspaceId]/logs/logs.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,8 @@ export default function Logs() {
8484

8585
const handleCloseSidebar = () => {
8686
setIsSidebarOpen(false)
87+
setSelectedLog(null)
88+
setSelectedLogIndex(-1)
8789
}
8890

8991
useEffect(() => {

0 commit comments

Comments
 (0)