mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Updated Next, Prisma, react-zen.
This commit is contained in:
parent
8d5e8b072d
commit
dfaebcd1b7
4 changed files with 286 additions and 279 deletions
|
|
@ -3,6 +3,7 @@ import { Edit } from '@/components/icons';
|
|||
import { Dialog } from '@umami/react-zen';
|
||||
import { CohortEditForm } from '@/app/(main)/websites/[websiteId]/cohorts/CohortEditForm';
|
||||
import { useMessages } from '@/components/hooks';
|
||||
import { Filter } from '@/lib/types';
|
||||
|
||||
export function CohortEditButton({
|
||||
cohortId,
|
||||
|
|
@ -11,7 +12,7 @@ export function CohortEditButton({
|
|||
}: {
|
||||
cohortId: string;
|
||||
websiteId: string;
|
||||
filters: any[];
|
||||
filters: Filter[];
|
||||
}) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@ import { Edit } from '@/components/icons';
|
|||
import { Dialog } from '@umami/react-zen';
|
||||
import { SegmentEditForm } from '@/app/(main)/websites/[websiteId]/segments/SegmentEditForm';
|
||||
import { useMessages } from '@/components/hooks';
|
||||
import { Filter } from '@/lib/types';
|
||||
|
||||
export function SegmentEditButton({
|
||||
segmentId,
|
||||
|
|
@ -11,7 +12,7 @@ export function SegmentEditButton({
|
|||
}: {
|
||||
segmentId: string;
|
||||
websiteId: string;
|
||||
filters?: any[];
|
||||
filters?: Filter[];
|
||||
}) {
|
||||
const { formatMessage, labels } = useMessages();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue