feat: first cut at the full renderer
This commit is contained in:
@@ -134,6 +134,13 @@ const App: React.FC = () => {
|
||||
);
|
||||
|
||||
// Task events
|
||||
unsubscribers.push(
|
||||
window.electronAPI?.on('task:created', (task: unknown) => {
|
||||
const t = task as TaskProgress;
|
||||
updateTask(t.taskId, t);
|
||||
}) || (() => {})
|
||||
);
|
||||
|
||||
unsubscribers.push(
|
||||
window.electronAPI?.on('task:started', (task: unknown) => {
|
||||
const t = task as TaskProgress;
|
||||
|
||||
Reference in New Issue
Block a user