Skip to content

Commit 2b05c15

Browse files
committed
Use past tense
1 parent 43ae3e2 commit 2b05c15

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/schema/src/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -356,8 +356,8 @@ export const events = {
356356
}),
357357
}),
358358

359-
cancelAllExecutions: Events.synced({
360-
name: "v1.CancelAllExecutions",
359+
allExecutionsCancelled: Events.synced({
360+
name: "v1.AllExecutionsCancelled",
361361
schema: Schema.Void,
362362
}),
363363

@@ -976,7 +976,7 @@ export const materializers = State.SQLite.materializers(events, {
976976
updatePresence(actorId || cancelledBy, cellId),
977977
],
978978

979-
"v1.CancelAllExecutions": () => {
979+
"v1.AllExecutionsCancelled": () => {
980980
const ops = [];
981981

982982
ops.push(

src/components/notebooks/notebook/NotebookControls.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function NotebookControls() {
5151
return;
5252
}
5353
toast.info("Cancelling all executions");
54-
store.commit(events.cancelAllExecutions());
54+
store.commit(events.allExecutionsCancelled());
5555
}, [store, cellQueue]);
5656

5757
const showBadge = cellQueue.length > 0 || hideAiCells;

0 commit comments

Comments
 (0)