Skip to content

Commit

Permalink
fix(ProjectListItemConnected): subscribe to archive goal from preview
Browse files Browse the repository at this point in the history
  • Loading branch information
LamaEats committed Oct 19, 2023
1 parent 831b19f commit 1cae83e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/ProjectListItemConnected.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const ProjectListItemConnected: FC<{
}
});

const unsubDelete = on('on:goal:update', (updatedId) => {
const unsubDelete = on('on:goal:delete', (updatedId) => {
const idInList = projectDeepInfo?.goals.find(({ _shortId }) => _shortId === updatedId);
if (idInList) {
utils.project.getDeepInfo.invalidate();
Expand Down

0 comments on commit 1cae83e

Please sign in to comment.