From 3f701052048d2db5e411a2031d13e2d4faae9d1f Mon Sep 17 00:00:00 2001 From: David Langley Date: Thu, 7 Nov 2024 10:21:10 +0000 Subject: [PATCH] lint --- src/components/views/messages/DateSeparator.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/views/messages/DateSeparator.tsx b/src/components/views/messages/DateSeparator.tsx index 272afc1823..f36c02a16a 100644 --- a/src/components/views/messages/DateSeparator.tsx +++ b/src/components/views/messages/DateSeparator.tsx @@ -117,7 +117,7 @@ export default class DateSeparator extends React.Component { } else { return formatFullDateNoTime(date); } - } catch (_) { + } catch { return _t("common|message_timestamp_invalid"); } }