From cbe5520436adf5296aa61002b44fd21d278ed8c7 Mon Sep 17 00:00:00 2001 From: Tony Date: Tue, 17 Oct 2023 14:19:32 +0900 Subject: [PATCH] fix: review --- integrations/react/src/stackflow.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integrations/react/src/stackflow.tsx b/integrations/react/src/stackflow.tsx index 97234aab3..098cd9e6f 100644 --- a/integrations/react/src/stackflow.tsx +++ b/integrations/react/src/stackflow.tsx @@ -30,7 +30,7 @@ function parseActionOptions(options?: { animate?: boolean }) { } const isNullableAnimateOption = options.animate == null; - + if (isNullableAnimateOption) { return { skipActiveState: false }; } @@ -43,7 +43,7 @@ export type StackComponentType = React.FC<{ }>; type StackflowPluginsEntry = - | StackflowReactPlugin + | StackflowReactPlugin | StackflowPluginsEntry[]; export type StackflowOptions = {