import { Popconfirm, Button, Typography } from 'antd'; import { useContext } from 'react'; import { AlertMessageContext } from '../../utils/alert-message-context'; import { API_YP_RESET, fetchData } from '../../utils/apis'; export default function ResetYP() { const { setMessage } = useContext(AlertMessageContext); const { Title } = Typography; const resetDirectoryRegistration = async () => { try { await fetchData(API_YP_RESET); setMessage(''); } catch (error) { alert(error); } }; return ( <>
If you are experiencing issues with your listing on the Owncast Directory and were asked to "reset" your connection to the service, you can do that here. The next time you go live it will try and re-register your server with the directory from scratch.