From 7f053adb330bd62020649c0aee4e405d6fc2eead Mon Sep 17 00:00:00 2001 From: Myles Scolnick Date: Tue, 3 Sep 2024 16:30:22 -0400 Subject: [PATCH] no unused --- biome.json | 1 + frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx | 4 ---- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/biome.json b/biome.json index 04d7ebc625d..0ac296222f9 100644 --- a/biome.json +++ b/biome.json @@ -53,6 +53,7 @@ "correctness": { "noInnerDeclarations": "error", "noUnusedImports": "error", + "noUnusedVariables": "error", "useExhaustiveDependencies": "off", "useHookAtTopLevel": "info" }, diff --git a/frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx b/frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx index 0945b839022..50e97ccb61a 100644 --- a/frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx +++ b/frontend/src/plugins/impl/data-frames/DataFramePlugin.tsx @@ -293,7 +293,3 @@ DataFrameComponent.displayName = "DataFrameComponent"; function getColumnSummaries() { return Promise.resolve({ summaries: [], data: null }); } - -function prettyNumber(value: number): string { - return new Intl.NumberFormat().format(value); -}