Skip to content

Commit

Permalink
fix: review
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyfromundefined committed Oct 17, 2023
1 parent a35c7ea commit cbe5520
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions integrations/react/src/stackflow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ function parseActionOptions(options?: { animate?: boolean }) {
}

const isNullableAnimateOption = options.animate == null;

if (isNullableAnimateOption) {
return { skipActiveState: false };
}
Expand All @@ -43,7 +43,7 @@ export type StackComponentType = React.FC<{
}>;

type StackflowPluginsEntry<T extends BaseActivities> =
| StackflowReactPlugin
| StackflowReactPlugin<T>
| StackflowPluginsEntry<T>[];

export type StackflowOptions<T extends BaseActivities> = {
Expand Down

0 comments on commit cbe5520

Please sign in to comment.