From d7c8d061082a52024411f6189434d080b4789ba2 Mon Sep 17 00:00:00 2001 From: Bhaskar Singh Date: Fri, 20 Nov 2020 22:07:05 +0530 Subject: [PATCH] Revert "Revert "add /tezos/brave redirect to /tezos"" This reverts commit 7865c870e39d2a7ebe625d04f64072690c3b2c2c. --- src/pages/tezos/brave.js | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 src/pages/tezos/brave.js diff --git a/src/pages/tezos/brave.js b/src/pages/tezos/brave.js new file mode 100644 index 00000000..03853b8f --- /dev/null +++ b/src/pages/tezos/brave.js @@ -0,0 +1,34 @@ +import React, { useEffect } from 'react'; +import { navigate } from 'gatsby'; +import SEO from 'src/components/Seo'; +import landingPage from 'src/images/landing_page.jpg'; + +//redirect homepage view to /tezos +const BraveView = () => { + useEffect(() => { + navigate('/tezos'); + }); + return ( + <> + + + ); +}; + +export default BraveView;