From dd88809622fe350169040efd01af2fa31a8076e1 Mon Sep 17 00:00:00 2001 From: Travis Ralston Date: Wed, 15 Jan 2020 12:02:23 -0700 Subject: [PATCH] Fix imports for help & support tab This was missed, somehow, in the sourcemaps stuff. The tab currently breaks the dialog on load. --- .../views/settings/tabs/user/HelpUserSettingsTab.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/views/settings/tabs/user/HelpUserSettingsTab.js b/src/components/views/settings/tabs/user/HelpUserSettingsTab.js index 0cf67a4db79..ab71de86b90 100644 --- a/src/components/views/settings/tabs/user/HelpUserSettingsTab.js +++ b/src/components/views/settings/tabs/user/HelpUserSettingsTab.js @@ -21,10 +21,10 @@ import {MatrixClientPeg} from "../../../../../MatrixClientPeg"; import AccessibleButton from "../../../elements/AccessibleButton"; import SdkConfig from "../../../../../SdkConfig"; import createRoom from "../../../../../createRoom"; -const packageJson = require('../../../../../../package.json'); -const Modal = require("../../../../../Modal"); -const sdk = require("../../../../.."); -const PlatformPeg = require("../../../../../PlatformPeg"); +import packageJson from "../../../../../../package.json"; +import Modal from "../../../../../Modal"; +import * as sdk from "../../../../../"; +import PlatformPeg from "../../../../../PlatformPeg"; // if this looks like a release, use the 'version' from package.json; else use // the git sha. Prepend version with v, to look like riot-web version