From 9be5035d799046d7baf23546fe090259d44fdbac Mon Sep 17 00:00:00 2001 From: Gert Hengeveld Date: Fri, 1 Jul 2022 15:09:19 +0200 Subject: [PATCH] Ignore the stacktrace in Chromatic snapshots --- addons/interactions/src/components/InteractionsPanel.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/interactions/src/components/InteractionsPanel.tsx b/addons/interactions/src/components/InteractionsPanel.tsx index 87366a975bd9..dee82be36ef4 100644 --- a/addons/interactions/src/components/InteractionsPanel.tsx +++ b/addons/interactions/src/components/InteractionsPanel.tsx @@ -133,7 +133,7 @@ export const InteractionsPanel: React.FC = React.memo( This story threw an error after it finished rendering which means your interactions couldn't be run. Go to this story's play function in {fileName} to fix. - + {caughtException.stack || `${caughtException.name}: ${caughtException.message}`}