Skip to content

Commit e93d16c

Browse files
authored
Remove toSchema() from chatbot-list-view.tsx (#1837)
1 parent 097e55c commit e93d16c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

packages/patterns/chatbot-list-view.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,10 @@ const selectCharm = handler<
188188
},
189189
);
190190

191-
const logCharmsList = lift(
192-
toSchema<{ charmsList: Cell<CharmEntry[]> }>(),
193-
undefined,
191+
const logCharmsList = lift<
192+
{ charmsList: Cell<CharmEntry[]> },
193+
Cell<CharmEntry[]>
194+
>(
194195
({ charmsList }) => {
195196
console.log("logCharmsList: ", charmsList.get());
196197
return charmsList;

0 commit comments

Comments
 (0)