fix: return correct promise from db-cache

This commit is contained in:
Samuel 2024-12-31 16:52:26 +01:00
parent 653032426f
commit 2d9f108ed2
2 changed files with 22 additions and 12 deletions

View file

@ -12,8 +12,6 @@ import { getNameFromRecipient } from "~/lib/get-name-from-recipient";
import { OverviewTable, type RoomOverview } from "./overview-table";
export const Overview: Component<RouteSectionProps> = () => {
console.log(overallSentMessagesQuery(SELF_ID));
const [allSelfSentMessagesCount] = createResource(() =>
overallSentMessagesQuery(SELF_ID),
);