import { Button, Modal, ModalTrigger, ActionForm } from 'react-basics';
import WebsiteDeleteForm from 'components/pages/settings/websites/WebsiteDeleteForm';
import WebsiteResetForm from 'components/pages/settings/websites/WebsiteResetForm';
import useMessages from 'hooks/useMessages';
export default function WebsiteData({ websiteId, onSave }) {
const { formatMessage, labels, messages } = useMessages();
const handleReset = async () => {
onSave('reset');
};
const handleDelete = async () => {
onSave('delete');
};
return (
<>
{close => (
)}
{close => (
)}
>
);
}