Skip to content

Commit

Permalink
eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Sep 24, 2024
1 parent 5ae5129 commit 6b294fc
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export function DashboardEmptyScreen() {
if (trackUiMetric) {
trackUiMetric(METRIC_TYPE.CLICK, `${lensAlias.name}:create`);
}
const appContext = dashboardApi.getAppContext();
const appContext = dashboardApi.getAppContext();
getStateTransfer().navigateToEditor(lensAlias.alias.app, {
path: lensAlias.alias.path,
state: {
Expand All @@ -72,13 +72,7 @@ export function DashboardEmptyScreen() {
searchSessionId: search.session.getSessionId(),
},
});
}, [
getStateTransfer,
lensAlias,
dashboardApi,
search.session,
usageCollection,
]);
}, [getStateTransfer, lensAlias, dashboardApi, search.session, usageCollection]);

// TODO replace these SVGs with versions from EuiIllustration as soon as it becomes available.
const imageUrl = basePath.prepend(
Expand Down

0 comments on commit 6b294fc

Please sign in to comment.