Remove threads labs flag and the ability to disable threads (#9878)
This commit is contained in:
+4
-1
@@ -175,7 +175,10 @@ function withinCurrentYear(prevDate: Date, nextDate: Date): boolean {
|
||||
return prevDate.getFullYear() === nextDate.getFullYear();
|
||||
}
|
||||
|
||||
export function wantsDateSeparator(prevEventDate: Date | undefined, nextEventDate: Date | undefined): boolean {
|
||||
export function wantsDateSeparator(
|
||||
prevEventDate: Date | null | undefined,
|
||||
nextEventDate: Date | null | undefined,
|
||||
): boolean {
|
||||
if (!nextEventDate || !prevEventDate) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user