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:
@@ -15,16 +15,16 @@ type PropsType = {
|
||||
onClose: () => unknown;
|
||||
} & ToastPropsType;
|
||||
|
||||
export const ToastFileSize = ({
|
||||
export function ToastFileSize({
|
||||
i18n,
|
||||
limit,
|
||||
onClose,
|
||||
units,
|
||||
}: PropsType): JSX.Element => {
|
||||
}: PropsType): JSX.Element {
|
||||
return (
|
||||
<Toast onClose={onClose}>
|
||||
{i18n('fileSizeWarning')} {limit}
|
||||
{units}
|
||||
</Toast>
|
||||
);
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user