Feat: News in the client app (#34392)

This commit is contained in:
Stuart Taylor
2018-11-29 12:12:15 +00:00
committed by Valeriy
parent 28798dc008
commit d327a5c36b
87 changed files with 2334 additions and 1403 deletions

View File

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