Skip to content

Commit

Permalink
fix mindelay
Browse files Browse the repository at this point in the history
Nhat Tien committed May 2, 2018
1 parent 4661ac8 commit 61d674d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Switcher.js
Original file line number Diff line number Diff line change
@@ -9,15 +9,15 @@ import isLoading from "../selectors/isLoading";
import styles from "../css/Switcher.css";

const UniversalComponent = universal(({ page }) => import(`./${page}`), {
minDelay: 500,
minDelay: 200,
loading: Loading,
error: Err
});

const Switcher = ({ page, direction, isLoading }) => (
<TransitionGroup
className={`${styles.switcher} ${direction}`}
duration={200}
duration={400}
prefix="fade"
>
<Transition key={page}>

0 comments on commit 61d674d

Please sign in to comment.