Fix as per new rules
This commit is contained in:
@@ -4,7 +4,7 @@ import React from "react";
|
||||
|
||||
interface MenuSectionTitleProps {
|
||||
title: string;
|
||||
icon?: JSX.Element;
|
||||
icon?: React.JSX.Element;
|
||||
}
|
||||
|
||||
export const MenuSectionTitle: React.FC<MenuSectionTitleProps> = ({
|
||||
|
||||
@@ -10,7 +10,7 @@ interface TitlebarProps {
|
||||
onClose: () => void;
|
||||
backIsClose?: boolean;
|
||||
onRootClose?: () => void;
|
||||
actionButton?: JSX.Element;
|
||||
actionButton?: React.JSX.Element;
|
||||
}
|
||||
|
||||
// TODO: Deprecated in favor of SidebarDrawerTitlebarProps where possible (will
|
||||
|
||||
@@ -617,7 +617,7 @@ export async function deriveSensitiveKey(passphrase: string, salt: string) {
|
||||
opsLimit,
|
||||
memLimit,
|
||||
};
|
||||
} catch (e) {
|
||||
} catch {
|
||||
opsLimit *= 2;
|
||||
memLimit /= 2;
|
||||
}
|
||||
|
||||
@@ -59,6 +59,7 @@ const messageWithError = (message: string, e?: unknown) => {
|
||||
}
|
||||
} else {
|
||||
// For the rest rare cases, use the default string serialization of e.
|
||||
// eslint-disable-next-line @typescript-eslint/no-base-to-string
|
||||
es = String(e);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user