Skip to content

Commit

Permalink
fix(Guide): hide when current step is -1 (#2389)
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn authored Jul 26, 2023
1 parent 8890e87 commit 1944220
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/guide/Guide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ const Guide: React.FC<GuideProps> = (originalProps) => {
</>
);

return <>{active && renderGuide()}</>;
return <>{innerCurrent > -1 && active && renderGuide()}</>;
};

Guide.displayName = 'Guide';
Expand Down

0 comments on commit 1944220

Please sign in to comment.