// @flow import { SITE_NAME } from 'config'; import * as MODALS from 'constants/modal_types'; import * as ICONS from 'constants/icons'; import React from 'react'; import Button from 'component/button'; type Props = { uri: string, claim: StreamClaim, hasChannels: boolean, doOpenModal: (string, {}) => void, doToast: ({ message: string }) => void, }; export default function ClaimRepostButton(props: Props) { const { uri, claim, hasChannels, doOpenModal, doToast } = props; const [contentUri, setContentUri] = React.useState(''); const [repostUri, setRepostUri] = React.useState(''); return (