diff --git a/playground/main.tsx b/playground/main.tsx
index 87adfc9..6ea3165 100644
--- a/playground/main.tsx
+++ b/playground/main.tsx
@@ -20,9 +20,8 @@ const commands: Command[] = [
name: "counter",
description: "shows a counter button",
run: async (interaction) => {
- const root = createRoot(interaction.channel!)
await interaction.reply("a")
- await root.render()
+ await createRoot(interaction.channel!).render()
},
},
]