@tap-payments/auth-jsconnect 2.1.59-test → 2.1.61-test

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -153,6 +153,8 @@ export default function FlowsButtons(_a) {
153
153
  var _b = useState(false), loading = _b[0], setLoading = _b[1];
154
154
  var isAr = useLanguage().isAr;
155
155
  var onRedirect = function (item) {
156
+ if (item.isCompleted)
157
+ return;
156
158
  if (flowName === item.name && item.name !== 'password') {
157
159
  dispatch(handleCurrentActiveScreen(getScreenNameBasedOnFlow(item.name)));
158
160
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tap-payments/auth-jsconnect",
3
- "version": "2.1.59-test",
3
+ "version": "2.1.61-test",
4
4
  "description": "connect library, auth",
5
5
  "private": false,
6
6
  "main": "build/index.js",