Skip to content

Commit e32dcc5

Browse files
Update workbench.ts
1 parent 94c3bf9 commit e32dcc5

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

app/lib/stores/workbench.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -525,7 +525,8 @@ export class WorkbenchStore {
525525
this.#reloadedMessages = new Set(messages);
526526
}
527527

528-
addArtifact({ messageId, title, id, type }: ArtifactCallbackData) {
528+
addArtifact(data: ArtifactCallbackData & { id: string; title: string; type?: string }) {
529+
const { messageId, title, id, type } = data;
529530
const artifact = this.#getArtifact(messageId);
530531

531532
if (artifact) {

0 commit comments

Comments
 (0)