From bda0b108ce020827039a18656f09f14a3c1e8ffa Mon Sep 17 00:00:00 2001 From: Matthew Horan Date: Tue, 19 Mar 2024 18:45:36 -0400 Subject: [PATCH] Trigger upgrade listener by actionCreator --- src/usecase/Root.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/usecase/Root.tsx b/src/usecase/Root.tsx index 6f20fa3..aed1cb3 100644 --- a/src/usecase/Root.tsx +++ b/src/usecase/Root.tsx @@ -39,7 +39,7 @@ export default class WeechatNative extends React.Component { super(props); store.dispatch( addListener({ - predicate: (action) => upgradeAction.match(action), + actionCreator: upgradeAction, effect: () => { this.disconnect(); }