Skip to content

Commit d1d1eca

Browse files
committed
Bug 1881816 - Rename Actions.sys.mjs to Actions.mjs. r=amy,omc-reviewers,aminomancer
This better reflects the file is being accessed from both content and system scopes. Differential Revision: https://phabricator.services.mozilla.com/D203400
1 parent 78a4cd4 commit d1d1eca

File tree

88 files changed

+109
-201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

88 files changed

+109
-201
lines changed

browser/components/asrouter/content-src/asrouter-utils.mjs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
// eslint-disable-next-line mozilla/reject-import-system-module-from-non-system
66
import { MESSAGE_TYPE_HASH as msg } from "../modules/ActorConstants.sys.mjs";
7-
// eslint-disable-next-line mozilla/reject-import-system-module-from-non-system
8-
import { actionCreators as ac } from "../../newtab/common/Actions.sys.mjs";
7+
import { actionCreators as ac } from "../../newtab/common/Actions.mjs";
98

109
export const ASRouterUtils = {
1110
addListener(listener) {

browser/components/asrouter/content/asrouter-admin.bundle.js

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,13 @@ __webpack_require__.r(__webpack_exports__);
1717
/* harmony export */ ASRouterUtils: () => (/* binding */ ASRouterUtils)
1818
/* harmony export */ });
1919
/* harmony import */ var _modules_ActorConstants_sys_mjs__WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(2);
20-
/* harmony import */ var _newtab_common_Actions_sys_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
20+
/* harmony import */ var _newtab_common_Actions_mjs__WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(3);
2121
/* This Source Code Form is subject to the terms of the Mozilla Public
2222
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
2323
* You can obtain one at http://mozilla.org/MPL/2.0/. */
2424

2525
// eslint-disable-next-line mozilla/reject-import-system-module-from-non-system
2626

27-
// eslint-disable-next-line mozilla/reject-import-system-module-from-non-system
2827

2928

3029
const ASRouterUtils = {
@@ -93,7 +92,7 @@ const ASRouterUtils = {
9392
});
9493
},
9594
sendTelemetry(ping) {
96-
return ASRouterUtils.sendMessage(_newtab_common_Actions_sys_mjs__WEBPACK_IMPORTED_MODULE_1__.actionCreators.ASRouterUserEvent(ping));
95+
return ASRouterUtils.sendMessage(_newtab_common_Actions_mjs__WEBPACK_IMPORTED_MODULE_1__.actionCreators.ASRouterUserEvent(ping));
9796
},
9897
getPreviewEndpoint() {
9998
return null;
@@ -181,6 +180,8 @@ __webpack_require__.r(__webpack_exports__);
181180
* License, v. 2.0. If a copy of the MPL was not distributed with this
182181
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
183182

183+
// This file is accessed from both content and system scopes.
184+
184185
const MAIN_MESSAGE_TYPE = "ActivityStream:Main";
185186
const CONTENT_MESSAGE_TYPE = "ActivityStream:Content";
186187
const PRELOAD_MESSAGE_TYPE = "ActivityStream:PreloadedBrowser";
@@ -550,8 +551,11 @@ function DiscoveryStreamLoadedContent(
550551
return importContext === UI_CODE ? AlsoToMain(action) : action;
551552
}
552553

553-
function SetPref(name, value, importContext = globalImportContext) {
554-
const action = { type: actionTypes.SET_PREF, data: { name, value } };
554+
function SetPref(prefName, value, importContext = globalImportContext) {
555+
const action = {
556+
type: actionTypes.SET_PREF,
557+
data: { name: prefName, value },
558+
};
555559
return importContext === UI_CODE ? AlsoToMain(action) : action;
556560
}
557561

browser/components/asrouter/modules/ASRouter.sys.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ ChromeUtils.defineLazyGetter(lazy, "log", () => {
6767
);
6868
return new Logger("ASRouter");
6969
});
70-
import { actionCreators as ac } from "resource://activity-stream/common/Actions.sys.mjs";
70+
import { actionCreators as ac } from "resource://activity-stream/common/Actions.mjs";
7171
import { MESSAGING_EXPERIMENTS_DEFAULT_FEATURES } from "resource:///modules/asrouter/MessagingExperimentConstants.sys.mjs";
7272
import { CFRMessageProvider } from "resource:///modules/asrouter/CFRMessageProvider.sys.mjs";
7373
import { OnboardingMessageProvider } from "resource:///modules/asrouter/OnboardingMessageProvider.sys.mjs";

browser/components/newtab/common/Actions.sys.mjs renamed to browser/components/newtab/common/Actions.mjs

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5+
// This file is accessed from both content and system scopes.
6+
57
export const MAIN_MESSAGE_TYPE = "ActivityStream:Main";
68
export const CONTENT_MESSAGE_TYPE = "ActivityStream:Content";
79
export const PRELOAD_MESSAGE_TYPE = "ActivityStream:PreloadedBrowser";
@@ -371,8 +373,11 @@ function DiscoveryStreamLoadedContent(
371373
return importContext === UI_CODE ? AlsoToMain(action) : action;
372374
}
373375

374-
function SetPref(name, value, importContext = globalImportContext) {
375-
const action = { type: actionTypes.SET_PREF, data: { name, value } };
376+
function SetPref(prefName, value, importContext = globalImportContext) {
377+
const action = {
378+
type: actionTypes.SET_PREF,
379+
data: { name: prefName, value },
380+
};
376381
return importContext === UI_CODE ? AlsoToMain(action) : action;
377382
}
378383

browser/components/newtab/common/Reducers.sys.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { actionTypes as at } from "resource://activity-stream/common/Actions.sys.mjs";
5+
import { actionTypes as at } from "resource://activity-stream/common/Actions.mjs";
66
import { Dedupe } from "resource://activity-stream/common/Dedupe.sys.mjs";
77

88
export const TOP_SITES_DEFAULT_ROWS = 1;

browser/components/newtab/content-src/activity-stream.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import { Base } from "content-src/components/Base/Base";
107
import { DetectUserSessionStart } from "content-src/lib/detect-user-session-start";
118
import { initStore } from "content-src/lib/init-store";

browser/components/newtab/content-src/components/Base/Base.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import { DiscoveryStreamAdmin } from "content-src/components/DiscoveryStreamAdmin/DiscoveryStreamAdmin";
107
import { ConfirmDialog } from "content-src/components/ConfirmDialog/ConfirmDialog";
118
import { connect } from "react-redux";

browser/components/newtab/content-src/components/Card/Card.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import { cardContextTypes } from "./types";
107
import { connect } from "react-redux";
118
import { ContextMenuButton } from "content-src/components/ContextMenu/ContextMenuButton";

browser/components/newtab/content-src/components/ComponentPerfTimer/ComponentPerfTimer.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import { perfService as perfSvc } from "content-src/lib/perf-service";
107
import React from "react";
118

browser/components/newtab/content-src/components/ConfirmDialog/ConfirmDialog.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { actionCreators as ac, actionTypes } from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes } from "common/Actions.mjs";
66
import { connect } from "react-redux";
77
import React from "react";
88

browser/components/newtab/content-src/components/CustomizeMenu/ContentSection/ContentSection.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

55
import React from "react";
6-
import { actionCreators as ac } from "common/Actions.sys.mjs";
6+
import { actionCreators as ac } from "common/Actions.mjs";
77
import { SafeAnchor } from "../../DiscoveryStreamComponents/SafeAnchor/SafeAnchor";
88

99
export class ContentSection extends React.PureComponent {

browser/components/newtab/content-src/components/DiscoveryStreamAdmin/DiscoveryStreamAdmin.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import { connect } from "react-redux";
107
import React from "react";
118
import { SimpleHashRouter } from "./SimpleHashRouter";

browser/components/newtab/content-src/components/DiscoveryStreamComponents/CardGrid/CardGrid.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ import { DSDismiss } from "content-src/components/DiscoveryStreamComponents/DSDi
88
import { TopicsWidget } from "../TopicsWidget/TopicsWidget.jsx";
99
import { SafeAnchor } from "../SafeAnchor/SafeAnchor";
1010
import { FluentOrText } from "../../FluentOrText/FluentOrText.jsx";
11-
import {
12-
actionCreators as ac,
13-
actionTypes as at,
14-
} from "common/Actions.sys.mjs";
11+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
1512
import React, { useEffect, useState, useRef, useCallback } from "react";
1613
import { connect, useSelector } from "react-redux";
1714
const PREF_ONBOARDING_EXPERIENCE_DISMISSED =

browser/components/newtab/content-src/components/DiscoveryStreamComponents/CollectionCardGrid/CollectionCardGrid.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { actionCreators as ac } from "common/Actions.sys.mjs";
5+
import { actionCreators as ac } from "common/Actions.mjs";
66
import { CardGrid } from "content-src/components/DiscoveryStreamComponents/CardGrid/CardGrid";
77
import { DSDismiss } from "content-src/components/DiscoveryStreamComponents/DSDismiss/DSDismiss";
88
import { LinkMenuOptions } from "content-src/lib/link-menu-options";

browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSCard/DSCard.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import { DSImage } from "../DSImage/DSImage.jsx";
107
import { DSLinkMenu } from "../DSLinkMenu/DSLinkMenu";
118
import { ImpressionStats } from "../../DiscoveryStreamImpressionStats/ImpressionStats";

browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSEmptyState/DSEmptyState.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import React from "react";
107

118
export class DSEmptyState extends React.PureComponent {

browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSLinkMenu/DSLinkMenu.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
import { LinkMenu } from "content-src/components/LinkMenu/LinkMenu";
66
import { ContextMenuButton } from "content-src/components/ContextMenu/ContextMenuButton";
7-
import { actionCreators as ac } from "common/Actions.sys.mjs";
7+
import { actionCreators as ac } from "common/Actions.mjs";
88
import React from "react";
99

1010
export class DSLinkMenu extends React.PureComponent {

browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSPrivacyModal/DSPrivacyModal.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,7 @@
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

55
import React from "react";
6-
import {
7-
actionCreators as ac,
8-
actionTypes as at,
9-
} from "common/Actions.sys.mjs";
6+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
107
import { ModalOverlayWrapper } from "content-src/components/ModalOverlay/ModalOverlay";
118

129
export class DSPrivacyModal extends React.PureComponent {

browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSSignup/DSSignup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { actionCreators as ac } from "common/Actions.sys.mjs";
5+
import { actionCreators as ac } from "common/Actions.mjs";
66
import { LinkMenu } from "content-src/components/LinkMenu/LinkMenu";
77
import { ContextMenuButton } from "content-src/components/ContextMenu/ContextMenuButton";
88
import { ImpressionStats } from "../../DiscoveryStreamImpressionStats/ImpressionStats";

browser/components/newtab/content-src/components/DiscoveryStreamComponents/DSTextPromo/DSTextPromo.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { actionCreators as ac } from "common/Actions.sys.mjs";
5+
import { actionCreators as ac } from "common/Actions.mjs";
66
import { DSDismiss } from "content-src/components/DiscoveryStreamComponents/DSDismiss/DSDismiss";
77
import { DSImage } from "../DSImage/DSImage.jsx";
88
import { ImpressionStats } from "../../DiscoveryStreamImpressionStats/ImpressionStats";

browser/components/newtab/content-src/components/DiscoveryStreamComponents/FeatureHighlight/FeatureHighlight.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

55
import React, { useState, useCallback, useRef, useEffect } from "react";
6-
import { actionCreators as ac } from "common/Actions.sys.mjs";
6+
import { actionCreators as ac } from "common/Actions.mjs";
77

88
export function FeatureHighlight({
99
message,

browser/components/newtab/content-src/components/DiscoveryStreamComponents/Navigation/Navigation.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { actionCreators as ac } from "common/Actions.sys.mjs";
5+
import { actionCreators as ac } from "common/Actions.mjs";
66
import React from "react";
77
import { SafeAnchor } from "../SafeAnchor/SafeAnchor";
88
import { FluentOrText } from "content-src/components/FluentOrText/FluentOrText";

browser/components/newtab/content-src/components/DiscoveryStreamComponents/SafeAnchor/SafeAnchor.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import React from "react";
107

118
export class SafeAnchor extends React.PureComponent {

browser/components/newtab/content-src/components/DiscoveryStreamComponents/TopicsWidget/TopicsWidget.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

55
import React from "react";
6-
import { actionCreators as ac } from "common/Actions.sys.mjs";
6+
import { actionCreators as ac } from "common/Actions.mjs";
77
import { SafeAnchor } from "../SafeAnchor/SafeAnchor";
88
import { ImpressionStats } from "../../DiscoveryStreamImpressionStats/ImpressionStats";
99
import { connect } from "react-redux";

browser/components/newtab/content-src/components/DiscoveryStreamImpressionStats/ImpressionStats.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import { TOP_SITES_SOURCE } from "../TopSites/TopSitesConstants";
107
import React from "react";
118

browser/components/newtab/content-src/components/LinkMenu/LinkMenu.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { actionCreators as ac } from "common/Actions.sys.mjs";
5+
import { actionCreators as ac } from "common/Actions.mjs";
66
import { connect } from "react-redux";
77
import { ContextMenu } from "content-src/components/ContextMenu/ContextMenu";
88
import { LinkMenuOptions } from "content-src/lib/link-menu-options";

browser/components/newtab/content-src/components/Search/Search.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
/* globals ContentSearchUIController, ContentSearchHandoffUIController */
66

7-
import {
8-
actionCreators as ac,
9-
actionTypes as at,
10-
} from "common/Actions.sys.mjs";
7+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
118
import { connect } from "react-redux";
129
import { IS_NEWTAB } from "content-src/lib/constants";
1310
import React from "react";

browser/components/newtab/content-src/components/Sections/Sections.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import { Card, PlaceholderCard } from "content-src/components/Card/Card";
107
import { CollapsibleSection } from "content-src/components/CollapsibleSection/CollapsibleSection";
118
import { ComponentPerfTimer } from "content-src/components/ComponentPerfTimer/ComponentPerfTimer";

browser/components/newtab/content-src/components/TopSites/SearchShortcutsForm.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import React from "react";
107
import { TOP_SITES_SOURCE } from "./TopSitesConstants";
118

browser/components/newtab/content-src/components/TopSites/TopSite.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import {
107
MIN_RICH_FAVICON_SIZE,
118
MIN_SMALL_FAVICON_SIZE,

browser/components/newtab/content-src/components/TopSites/TopSiteForm.jsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import {
6-
actionCreators as ac,
7-
actionTypes as at,
8-
} from "common/Actions.sys.mjs";
5+
import { actionCreators as ac, actionTypes as at } from "common/Actions.mjs";
96
import { A11yLinkButton } from "content-src/components/A11yLinkButton/A11yLinkButton";
107
import React from "react";
118
import { TOP_SITES_SOURCE } from "./TopSitesConstants";

browser/components/newtab/content-src/components/TopSites/TopSiteImpressionWrapper.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* License, v. 2.0. If a copy of the MPL was not distributed with this file,
33
* You can obtain one at http://mozilla.org/MPL/2.0/. */
44

5-
import { actionCreators as ac } from "common/Actions.sys.mjs";
5+
import { actionCreators as ac } from "common/Actions.mjs";
66
import React from "react";
77

88
const VISIBLE = "visible";

0 commit comments

Comments
 (0)