Skip to content

Commit

Permalink
chore(lint): fixed linter error
Browse files Browse the repository at this point in the history
  • Loading branch information
asalem1 committed Jun 23, 2020
1 parent 5e07113 commit 2179681
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ui/src/views/actions/thunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<View, ViewEntities, string>(newView, viewSchema)

Expand Down

0 comments on commit 2179681

Please sign in to comment.