Skip to content

Commit 0e96115

Browse files
committed
made it bit more readable
1 parent 6ce793a commit 0e96115

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

packages/compass-indexes/src/modules/create-index.tsx

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -367,13 +367,14 @@ export const createIndexFormSubmitted = (): IndexesThunkAction<
367367
> => {
368368
return (dispatch, getState, { track }) => {
369369
const currentTab = getState().createIndex.currentTab;
370+
370371
track('Create Index Button Clicked', {
371372
context: 'Create Index Modal',
372-
flow: !currentTab
373-
? undefined
374-
: currentTab === 'IndexFlow'
375-
? 'Start with Index'
376-
: 'Start with Query',
373+
flow: currentTab
374+
? currentTab === 'IndexFlow'
375+
? 'Start with Index'
376+
: 'Start with Query'
377+
: undefined,
377378
});
378379

379380
// Check for field errors.

0 commit comments

Comments
 (0)