mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-24 20:26:24 +00:00
Update eslint to 8.27.0
This commit is contained in:
@@ -43,7 +43,7 @@ export type PropsType = {
|
||||
}
|
||||
);
|
||||
|
||||
export const LeftPaneDialog: React.FC<PropsType> = ({
|
||||
export function LeftPaneDialog({
|
||||
icon = 'warning',
|
||||
type,
|
||||
onClick,
|
||||
@@ -58,7 +58,7 @@ export const LeftPaneDialog: React.FC<PropsType> = ({
|
||||
hasXButton,
|
||||
onClose,
|
||||
closeLabel,
|
||||
}) => {
|
||||
}: PropsType): JSX.Element {
|
||||
const onClickWrap = (e: React.MouseEvent) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
@@ -188,4 +188,4 @@ export const LeftPaneDialog: React.FC<PropsType> = ({
|
||||
}
|
||||
|
||||
return dialogNode;
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user