Skip to content

Commit dae9a87

Browse files
committed
docs(Redirect): fix delay
1 parent 6c8962e commit dae9a87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.storybook/components/Redirect.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ interface RedirectProps {
1313
delay?: number;
1414
}
1515

16-
export const Redirect = ({ from, to, sectionName, delay = 1000000 }: RedirectProps) => {
16+
export const Redirect = ({ from, to, sectionName, delay = 5000 }: RedirectProps) => {
1717
const [countdown, setCountdown] = useState(Math.ceil(delay / 1000));
1818

1919
const target = typeof window !== 'undefined' ? window.top || window.parent || window : null;

0 commit comments

Comments
 (0)