chore(learn): Merge learn in to the client app

This commit is contained in:
Bouncey
2018-09-30 11:37:19 +01:00
committed by Stuart Taylor
parent 9e869a46fc
commit 5b254f3ad6
320 changed files with 9820 additions and 27605 deletions

View File

@@ -1,10 +1,10 @@
import { navigate } from 'gatsby';
const Redirecthome = () => {
const RedirectHome = () => {
if (typeof window !== 'undefined') {
navigate('/');
}
return null;
};
export default Redirecthome;
export default RedirectHome;