clean-up edit forms, removed unused params
This commit is contained in:
@@ -13,12 +13,7 @@ import { DOMAIN_REGEX } from 'lib/constants';
|
||||
import { touch } from 'store/modified';
|
||||
import { WebsiteContext } from 'app/(main)/websites/[websiteId]/WebsiteProvider';
|
||||
|
||||
export function WebsiteEditForm({
|
||||
websiteId,
|
||||
}: {
|
||||
websiteId: string;
|
||||
onSave?: (data: any) => void;
|
||||
}) {
|
||||
export function WebsiteEditForm({ websiteId }: { websiteId: string }) {
|
||||
const website = useContext(WebsiteContext);
|
||||
const { formatMessage, labels, messages } = useMessages();
|
||||
const { post, useMutation } = useApi();
|
||||
|
||||
Reference in New Issue
Block a user