Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.
TypeScript analyticsaudience-segmentationchartscohort-analysisgoogle-analyticsproduct-analyticsstatisticsuser-journeyweb-analytics
do not pass in shareId in websiteEditForm
Francis Cao078f08272128
diff --git a/src/app/(main)/websites/[websiteId]/settings/WebsiteEditForm.tsx b/src/app/(main)/websites/[websiteId]/settings/WebsiteEditForm.tsxindex 4ae819ee5..cbc88cd86 100644--- a/src/app/(main)/websites/[websiteId]/settings/WebsiteEditForm.tsx+++ b/src/app/(main)/websites/[websiteId]/settings/WebsiteEditForm.tsx@@ -8,7 +8,8 @@ export function WebsiteEditForm({ websiteId, onSave }: { websiteId: string; onSaconst { mutateAsync, error, touch, toast } = useUpdateQuery(`/websites/${websiteId}`);const handleSubmit = async (data: any) => {- await mutateAsync(data, {+ const { shareId, ...updateData } = data;+ await mutateAsync(updateData, {onSuccess: async () => {toast(formatMessage(messages.saved));touch('websites');