mirror of
https://github.com/home-assistant/frontend.git
synced 2026-04-02 00:27:49 +01:00
Format
This commit is contained in:
@@ -142,8 +142,8 @@ const applyDatePartOption = (
|
||||
const normalizeDateParts = (
|
||||
parts: ClockCardConfig["date_format"]
|
||||
): ClockCardDatePart[] =>
|
||||
parts?.filter(
|
||||
(part): part is ClockCardDatePart => isClockCardDatePart(part)
|
||||
parts?.filter((part): part is ClockCardDatePart =>
|
||||
isClockCardDatePart(part)
|
||||
) || [];
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user