a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

surpress hydration warning for dates

+2 -1
+2 -1
components/Blocks/DateTimeBlock.tsx
··· 103 103 <BlockCalendarSmall className="text-tertiary" /> 104 104 {dateFact ? ( 105 105 <div 106 + suppressHydrationWarning={true} 106 107 className={`font-bold 107 108 ${!permissions.write || isLocked ? "" : "group-hover/date:underline"} 108 109 `} ··· 113 114 day: "numeric", 114 115 })}{" "} 115 116 {!dateFact.data.dateOnly ? ( 116 - <span> 117 + <span suppressHydrationWarning={true}> 117 118 |{" "} 118 119 {selectedDate.toLocaleTimeString(undefined, { 119 120 hour: "numeric",