From f785aa147309ce3a59504f1211df3a77ffb77a48 Mon Sep 17 00:00:00 2001 From: whqwert <94757998+whqwert@users.noreply.github.com> Date: Mon, 17 Jul 2023 00:05:20 -0500 Subject: fix(OpenInApp): Broken patch (#1434) --- src/plugins/openInApp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/plugins/openInApp.ts b/src/plugins/openInApp.ts index 83cd828..2db0b8d 100644 --- a/src/plugins/openInApp.ts +++ b/src/plugins/openInApp.ts @@ -71,7 +71,7 @@ export default definePlugin({ { find: ".CONNECTED_ACCOUNT_VIEWED,", replacement: { - match: /(?<=href:\i,onClick:function\(\)\{)(?=return \i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/, + match: /(?<=href:\i,onClick:function\(\i\)\{)(?=\i=(\i)\.type,.{0,50}CONNECTED_ACCOUNT_VIEWED)/, replace: "$self.handleAccountView(arguments[0],$1.type,$1.id);" } } -- cgit