Skip to content
Snippets Groups Projects
Commit 8278a85a authored by Tom Robinson's avatar Tom Robinson
Browse files

Fix flow

parent ebde0d2d
No related branches found
No related tags found
No related merge requests found
......@@ -25,9 +25,9 @@ const MetabaseAnalytics = {
// track an event
trackEvent: function(
category: string,
action?: string,
label?: string | number | boolean,
value?: number,
action?: ?string,
label?: ?(string | number | boolean),
value?: ?number,
) {
const { tag } = MetabaseSettings.get("version");
......
......@@ -58,7 +58,7 @@ Object.values(SECTIONS).map((section, index) => {
});
const getGALabelForAction = action =>
`${action.section || ""}:${action.name || ""}`;
action ? `${action.section || ""}:${action.name || ""}` : null;
type Props = {
clicked: ?ClickObject,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment