import { Tabs } from 'antd'; import { useRecoilValue } from 'recoil'; import IndieAuthModal from '../IndieAuthModal/IndieAuthModal'; import FediAuthModal from '../FediAuthModal/FediAuthModal'; import FediverseIcon from '../../../assets/images/fediverse-black.png'; import IndieAuthIcon from '../../../assets/images/indieauth.png'; import s from './AuthModal.module.scss'; import { chatDisplayNameAtom, chatAuthenticatedAtom, accessTokenAtom, } from '../../stores/ClientConfigStore'; const { TabPane } = Tabs; /* eslint-disable @typescript-eslint/no-unused-vars */ interface Props {} export default function AuthModal(props: Props) { const chatDisplayName = useRecoilValue(chatDisplayNameAtom); const authenticated = useRecoilValue(chatAuthenticatedAtom); const accessToken = useRecoilValue(accessTokenAtom); const federationEnabled = false; return (
null} > IndieAuth IndieAuth } key="1" > Fediverse auth FediAuth } key="2" >
); }