clean-up edit forms, removed unused params

This commit is contained in:
Francis Cao committed 2024-02-06 12:25:21 -08:00
1 parent 3277b65993
commit 74ea4f511e
4 files changed
+11 -19

No files matched your search

@@ -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();