Skip to content

Commit 6d33b2b

Browse files
committed
more lint
1 parent a5b9ab4 commit 6d33b2b

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

internal/dev_server/ui/src/DebugSessionsPage.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
import { useEffect, useState } from "react";
2-
import { useNavigate } from "react-router";
32
import { apiRoute } from "./util";
43
import { DebugSession, DebugSessionsPage as DebugSessionsPageType } from "./types";
54
import { Box, Alert } from "@launchpad-ui/core";
65
import { Heading, Text, ProgressBar, Button, Link } from "@launchpad-ui/components";
76
import { Icon } from "@launchpad-ui/icons";
87

98
const DebugSessionsPage = () => {
10-
const navigate = useNavigate();
119
const [debugSessions, setDebugSessions] = useState<DebugSession[]>([]);
1210
const [loading, setLoading] = useState<boolean>(true);
1311
const [error, setError] = useState<string | null>(null);

internal/dev_server/ui/src/EventsTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const indexRows = (indexEvent: EventData, showNotification: (message: string) =>
5858
| 'cloud'
5959
| 'help' = 'help';
6060
if (indexEvent.data.context) {
61-
let context = indexEvent.data.context
61+
const context = indexEvent.data.context
6262
switch (context.kind) {
6363
case 'user':
6464
targetText = 'user context';

0 commit comments

Comments
 (0)