feat: cache stats sources
This commit is contained in:
parent
d87d9fb301
commit
b97fa88893
14 changed files with 98 additions and 92 deletions
|
@ -5,8 +5,8 @@ import { weekdayNames } from "~/lib/messages";
|
|||
import type { MessageStats, Recipients } from "~/types";
|
||||
|
||||
export const DmMessagesPerWeekday: Component<{
|
||||
weekdayStats: MessageStats["weekday"];
|
||||
recipients: Recipients;
|
||||
weekdayStats: MessageStats["weekday"] | undefined;
|
||||
recipients: Recipients | undefined;
|
||||
}> = (props) => {
|
||||
const weekdayChartData: Accessor<ChartData<"radar"> | undefined> = () => {
|
||||
const currentMessagesPerWeekday = props.weekdayStats;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue