From 01a3160242a8352f0bcde229b3e860e396ff5be5 Mon Sep 17 00:00:00 2001 From: Kai Vandivier <49666798+KaiVandivier@users.noreply.github.com> Date: Wed, 10 Jul 2024 10:04:26 +0200 Subject: [PATCH] fix: plugin boundary retry if plugin logic is skipped (#862) --- adapter/src/components/AppWrapper.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/adapter/src/components/AppWrapper.js b/adapter/src/components/AppWrapper.js index e65749c0..16774a1e 100644 --- a/adapter/src/components/AppWrapper.js +++ b/adapter/src/components/AppWrapper.js @@ -32,7 +32,9 @@ const AppWrapper = ({ plugin={true} onPluginError={onPluginError} onRetry={() => { - clearPluginError() + if (clearPluginError) { + clearPluginError() + } window.location.reload() }} >