Andrew commited on
Commit
8a9fb43
·
1 Parent(s): 0e4a8bc

fix(ui): fix type errors with updateBranchState

Browse files
src/routes/conversation/[id]/+page.svelte CHANGED
@@ -151,7 +151,7 @@
151
  onMessageCreated: (id) => {
152
  targetMessageId = id;
153
  },
154
- updateBranchState,
155
  invalidate,
156
  goto,
157
  },
 
151
  onMessageCreated: (id) => {
152
  targetMessageId = id;
153
  },
154
+ updateBranchState: (val: unknown) => updateBranchState(val as typeof branchState),
155
  invalidate,
156
  goto,
157
  },