Skip to content

Commit

Permalink
fix: formatting and lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rmrt1n committed Oct 22, 2024
1 parent fdf81f7 commit 10c4b81
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@
// Import Routes

import { Route as rootRoute } from './routes/__root'
import { Route as JaegerImport } from './routes/_jaeger'
import { Route as CardinalImport } from './routes/_cardinal'
import { Route as IndexImport } from './routes/index'
import { Route as JaegerJaegerImport } from './routes/_jaeger.jaeger'
import { Route as CardinalCardinalImport } from './routes/_cardinal.cardinal'
import { Route as JaegerImport } from './routes/_jaeger'
import { Route as JaegerJaegerImport } from './routes/_jaeger.jaeger'
import { Route as IndexImport } from './routes/index'

// Create/Update Routes

Expand Down
2 changes: 1 addition & 1 deletion src/routes/_cardinal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function CardinalLayout() {
// setup websocket connection to receive events
useEffect(() => {
const wsCardinalUrl = cardinalUrl.replace(/https|http/, 'ws')
let ws: WebSocket;
let ws: WebSocket
try {
// this throws error if url scheme is not valid
ws = new WebSocket(`${wsCardinalUrl}${routeEvents}`)
Expand Down
6 changes: 3 additions & 3 deletions src/routes/_jaeger.jaeger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,16 +40,16 @@ function Jaeger() {
const parsed = responseSchema.safeParse(body)
// this means jaegerUrl isn't pointing to a proper jaeger service
if (!parsed.success) {
throw new Error("Invalid Jaeger Services API")
throw new Error('Invalid Jaeger Services API')
}
setIsJaegerRunning(true)
} catch (error) {
setIsJaegerRunning(false)
errorToast(toast, error, "Error fetching Jaeger")
errorToast(toast, error, 'Error fetching Jaeger')
}
}
ping().then()
}, [jaegerUrl])
}, [jaegerUrl, toast])

const defaultUrl = `${jaegerUrl}/?uiEmbed=v0`
const telemetryCommand = 'world cardinal start --telemetry'
Expand Down
2 changes: 1 addition & 1 deletion src/routes/_jaeger.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function JaegerLayout() {
<main className="flex h-[calc(100%-3rem-1px)]">
<JaegerSidebar />
<div className="w-full h-full">
<div className="bg-muted h-full p-4 overflow-y-auto">
<div className="bg-muted h-full p-3 overflow-y-auto">
<Outlet />
</div>
<Toaster />
Expand Down

0 comments on commit 10c4b81

Please sign in to comment.