// @ts-nocheck import React from 'react'; import { useHistory } from 'react-router-dom'; import { Text } from '@blueprintjs/core'; import { Icon, For, FormattedMessage as T, Stack } from '@/components'; import { getFooterLinks } from '@/constants/footerLinks'; import { useAuthActions } from '@/hooks/state'; import style from './SetupLeftSection.module.scss'; import { useAuthMetadata } from '@/hooks/query'; /** * Footer item link. */ function FooterLinkItem({ title, link }) { return ( ); } /** * Setup left section footer. */ function SetupLeftSectionFooter() { // Retrieve the footer links. const footerLinks = getFooterLinks(); const { data: authMeta } = useAuthMetadata(); const demoUrl = authMeta?.meta?.one_click_demo?.demo_url; const handleDemoBtnClick = () => { window.open(demoUrl); }; return (
{demoUrl && ( Not Now? )}
); } /** * Setup left section header. */ function SetupLeftSectionHeader() { const { setLogout } = useAuthActions(); // Handle logout link click. const onClickLogout = () => { setLogout(); }; return (

); } /** * Wizard setup left section. */ export default function SetupLeftSection() { return (
); }