feat: cache stats sources
This commit is contained in:
parent
ec1ea5cfe8
commit
cad305aa66
14 changed files with 98 additions and 92 deletions
|
@ -4,8 +4,8 @@ import { PieChart } from "~/components/ui/charts";
|
|||
import type { MessageStats, Recipients } from "~/types";
|
||||
|
||||
export const DmMessagesPerRecipient: Component<{
|
||||
personStats: MessageStats["person"];
|
||||
recipients: Recipients;
|
||||
personStats: MessageStats["person"] | undefined;
|
||||
recipients: Recipients | undefined;
|
||||
}> = (props) => {
|
||||
const recipientChartData: Accessor<ChartData<"pie"> | undefined> = () => {
|
||||
const currentMessagesPerRecipient = props.personStats;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue