Upgrade eslint-plugin-matrix-org to 1.2.1
This upgrade came with a number of new lints that needed to be fixed across the code base. Primarily: explicit return types on functions, and explicit visibility modifiers on class members.
This commit is contained in:
@@ -15,13 +15,14 @@ limitations under the License.
|
||||
*/
|
||||
|
||||
import { Trans } from "react-i18next";
|
||||
import { FC } from "react";
|
||||
|
||||
import { Banner } from "./Banner";
|
||||
import styles from "./E2EEBanner.module.css";
|
||||
import { ReactComponent as LockOffIcon } from "./icons/LockOff.svg";
|
||||
import { useEnableE2EE } from "./settings/useSetting";
|
||||
|
||||
export const E2EEBanner = () => {
|
||||
export const E2EEBanner: FC = () => {
|
||||
const [e2eeEnabled] = useEnableE2EE();
|
||||
if (e2eeEnabled) return null;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user