fix: thread not reload after reply

This commit is contained in:
reya
2024-11-02 08:26:46 +07:00
parent f346282c3c
commit 26a6ec954c
5 changed files with 58 additions and 43 deletions
@@ -0,0 +1,9 @@
import { commands } from "@/commands.gen";
import { createFileRoute } from "@tanstack/react-router";
export const Route = createFileRoute("/columns/_layout/events/$id")({
beforeLoad: async () => {
const accounts = await commands.getAccounts();
return { accounts };
},
});