Skip to content

Commit

Permalink
Trigger upgrade listener by actionCreator
Browse files Browse the repository at this point in the history
  • Loading branch information
mhoran committed Mar 19, 2024
1 parent 8fa8959 commit bda0b10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usecase/Root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export default class WeechatNative extends React.Component<null, State> {
super(props);
store.dispatch(
addListener({
predicate: (action) => upgradeAction.match(action),
actionCreator: upgradeAction,
effect: () => {
this.disconnect();
}
Expand Down

0 comments on commit bda0b10

Please sign in to comment.