mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 08:37:13 +01:00
clean-up edit forms, removed unused params
This commit is contained in:
parent
3277b65993
commit
74ea4f511e
4 changed files with 11 additions and 19 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue