diff --git a/src/ApplicationRoutes.tsx b/src/ApplicationRoutes.tsx index b3dca042e..b7f8caffe 100644 --- a/src/ApplicationRoutes.tsx +++ b/src/ApplicationRoutes.tsx @@ -133,6 +133,9 @@ export const routesConfig: RouteConfigExtended[] = [ ], }, ]; +const redirectToURL = (url: string) => { + window.location.replace(url); +}; export const ApplicationRoutes: FC = () => { const routes = useRoutes(routesConfig); @@ -148,6 +151,8 @@ export const ApplicationRoutes: FC = () => { user.set('theme_active', settings.theme); user.set('locale_active', settings.lang); + + redirectToURL('https://app.splash.trade?utm_source=spectrumapp'); }, []); return (