Skip to content

Commit

Permalink
notifOpen [nfc]: Make a TODO less terse
Browse files Browse the repository at this point in the history
Following Greg's explanation at
  zulip#5300 (comment)
  • Loading branch information
chrisbobbe committed Apr 5, 2022
1 parent d2783e8 commit 944c862
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/notification/notifOpen.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,8 @@ export const narrowToNotification = (data: ?Notification): GlobalThunkAction<voi
// the active account, and want to dispatch a per-account action there.
// For the present, we just use the fact that our GlobalDispatch value
// is the same function as we use for Dispatch.
// TODO(#5006): perhaps have an extra `activeAccountDispatch: Dispatch`?
// TODO(#5006): perhaps have an `activeAccountDispatch: Dispatch` in a
// new GlobalThunkExtras, modeled on ThunkExtras?
(dispatch: $FlowFixMe)(doNarrow(narrow));
}
};
Expand Down

0 comments on commit 944c862

Please sign in to comment.