From e85fed63ec0ffda36c963e51e3cc9e3ec2ea8d1c Mon Sep 17 00:00:00 2001 From: Maxwell Lin <28914712+maxwellmlin@users.noreply.github.com> Date: Sat, 21 Oct 2023 15:49:56 -0400 Subject: [PATCH] Lint --- .../call-service-panel/src/CallServicePanel.tsx | 7 +++++-- .../publish-topic-panel/src/PublishTopicPanel.tsx | 4 +--- .../src/SubscribeTopicPanel.tsx | 12 ++---------- 3 files changed, 8 insertions(+), 15 deletions(-) diff --git a/foxglove/extensions/call-service-panel/src/CallServicePanel.tsx b/foxglove/extensions/call-service-panel/src/CallServicePanel.tsx index 352e070bd..bf22c0350 100644 --- a/foxglove/extensions/call-service-panel/src/CallServicePanel.tsx +++ b/foxglove/extensions/call-service-panel/src/CallServicePanel.tsx @@ -2,6 +2,7 @@ import { Immutable, PanelExtensionContext, RenderState } from "@foxglove/studio" import Alert from "@mui/material/Alert"; import { JsonViewer } from "@textea/json-viewer"; import { useCallback, useEffect, useLayoutEffect, useState } from "react"; +import { JSX } from "react/jsx-runtime"; import { createRoot } from "react-dom/client"; type State = { @@ -86,8 +87,10 @@ function CallServicePanel({ context }: { context: PanelExtensionContext }): JSX.