From 655d5de8ba20962dc9285e83da2ca5c7496eca64 Mon Sep 17 00:00:00 2001 From: asalem Date: Mon, 22 Jun 2020 15:39:56 -0700 Subject: [PATCH] chore(lint): fixed linter error --- ui/src/views/actions/thunks.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ui/src/views/actions/thunks.ts b/ui/src/views/actions/thunks.ts index 6558aaf5f33..44cffdd966d 100644 --- a/ui/src/views/actions/thunks.ts +++ b/ui/src/views/actions/thunks.ts @@ -82,7 +82,11 @@ export const updateViewAndVariables = ( const views = getViewsForDashboard(getState(), dashboardID) - views.splice(views.findIndex(v => v.id === newView.id), 1, newView) + views.splice( + views.findIndex(v => v.id === newView.id), + 1, + newView + ) const normView = normalize(newView, viewSchema)