From 3100887bcab3790bb37259287d45563c916e06e3 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Sun, 16 Oct 2022 23:40:04 -0700 Subject: [PATCH] add photogallery redirect --- src/pages/photogallery.tsx | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 src/pages/photogallery.tsx diff --git a/src/pages/photogallery.tsx b/src/pages/photogallery.tsx new file mode 100644 index 0000000..30dcef7 --- /dev/null +++ b/src/pages/photogallery.tsx @@ -0,0 +1,10 @@ +import { navigate } from 'gatsby'; +import React, { useEffect } from 'react'; + +export default function RedirectGallery() { + useEffect(() => { + navigate('/'); + }, []); + return null; + +} \ No newline at end of file