import { FC, useEffect, useState } from 'react' import styles from './SectionShare.module.css' import { Heading } from '../../shared/Heading' import { Paragraph } from '../../shared/Paragraph/Paragraph' import { Button } from '../../shared/Button/Button' import cx from 'classnames' import typography from '../../../styles/typography.module.css' import { download, streamToArrayBuffer } from '../../../src/download' import { I18n } from '../../shared/I18n/I18n' import { Input } from '../../shared/Input/Input' import { Section } from '../../shared/Section/Section' import { useGroups } from '../../contexts/GroupProvider' export const SectionShare: FC = () => { const { store, load } = useGroups() const [location, setLocation] = useState('') useEffect(() => { setLocation(window.location.href) }, []) return (
e.currentTarget.select()} />
) }