1 parent 577977d commit b64880fCopy full SHA for b64880f
lib/demo.ts
@@ -128,10 +128,7 @@ if (import.meta.hot) {
128
// @ts-expect-error - HMR types not working with Deno
129
import.meta.hot.accept("./clients/DataTable.ts", async ({ datatable }) => {
130
coordinator.disconnect(dt);
131
- dt = await datatable("df", {
132
- coordinator: dt.coordinator,
133
- height: 500,
134
- });
+ dt = await datatable("df", { coordinator, height: 500 });
135
table.replaceChildren();
136
table.appendChild(dt.node());
137
});
0 commit comments