diff --git a/client/main.tsx b/client/main.tsx
index 7397c57..5639b3c 100644
--- a/client/main.tsx
+++ b/client/main.tsx
@@ -11,25 +11,17 @@ async function nav() {
const conversations = await fetch("/api/conversation").then(r => r.json());
for (const conversation of conversations) {
- const button = ;
- button.addEventListener("click", e => {
- e.preventDefault();
- route.set(conversation.id);
- });
+ const button = (
+
+ );
nav.append(button);
}
nav.append(
-