Remove completed TODO

pull/7050/head
jacobtoppm 2021-04-19 13:36:24 +01:00 zatwierdzone przez Matt Westcott
rodzic 9e98e680e9
commit 64f1cbdfd4
1 zmienionych plików z 0 dodań i 1 usunięć
client/src/components/CommentApp/state

Wyświetl plik

@ -301,7 +301,6 @@ export const reducer = produce((draft: CommentsState, action: actions.Action) =>
}
case actions.INVALIDATE_CONTENT_PATH: {
// Delete any comments that exist in the contentpath
// TODO: Switch to resolved when we add that state back
const comments = draft.comments;
for (const comment of comments.values()) {
if (comment.contentpath.startsWith(action.contentPath)) {