Skip to content

Commit e66c9a7

Browse files
committed
lint
1 parent b0e10f3 commit e66c9a7

File tree

1 file changed

+2
-2
lines changed
  • packages/app/src/components/data/plot/definition

1 file changed

+2
-2
lines changed

packages/app/src/components/data/plot/definition/layout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,12 +139,12 @@ export function PlotLayout({
139139
onClick={async () => {
140140
try {
141141
const plotElement =
142-
document.querySelector('[data-plot="true"]')?.parentElement;
142+
document.querySelector("[data-plot='true']")?.parentElement;
143143
if (!plotElement) {
144144
throw new Error("Plot element not found");
145145
}
146146
await exportPlotAsImage(plotElement as HTMLElement, plot);
147-
} catch (_error) {
147+
} catch {
148148
toast.error("Failed to export plot");
149149
}
150150
}}

0 commit comments

Comments
 (0)