From 32ed948d441d358ce9bc16bff86280e7bd892303 Mon Sep 17 00:00:00 2001 From: Bugen Zhao Date: Thu, 14 Mar 2024 15:17:54 +0800 Subject: [PATCH] fix eslint Signed-off-by: Bugen Zhao --- dashboard/next.config.js | 2 +- dashboard/pages/fragment_graph.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/next.config.js b/dashboard/next.config.js index cf038f55cd3cd..36c00a6b87905 100644 --- a/dashboard/next.config.js +++ b/dashboard/next.config.js @@ -25,7 +25,7 @@ const nextConfig = { // We have a separate step for running ESLint in CI. // Ignore to skip the development dependency on `eslint` for production builds. ignoreDuringBuilds: true, - } + }, } module.exports = nextConfig diff --git a/dashboard/pages/fragment_graph.tsx b/dashboard/pages/fragment_graph.tsx index e72ca7ce3e0ce..f77ab2b5a30e1 100644 --- a/dashboard/pages/fragment_graph.tsx +++ b/dashboard/pages/fragment_graph.tsx @@ -329,7 +329,7 @@ export default function Streaming() { clearInterval(interval) } } - }, [backPressureDataSource]) + }, [backPressureDataSource, toast]) const backPressures = useMemo(() => { if (promethusMetrics || embeddedBackPressureInfo) {