Fixed goals query.

This commit is contained in:
Mike Cao 2025-05-31 09:46:36 -07:00
parent 49bcbfd7f9
commit f6c3ad5aa6
8 changed files with 38 additions and 30 deletions

View file

@ -15,7 +15,11 @@ export function GoalAddButton({ websiteId }: { websiteId: string }) {
<Text>{formatMessage(labels.addGoal)}</Text>
</Button>
<Modal>
<Dialog variant="modal" title={formatMessage(labels.addGoal)} style={{ width: '400px' }}>
<Dialog
variant="modal"
title={formatMessage(labels.addGoal)}
style={{ minHeight: 375, minWidth: 400 }}
>
{({ close }) => <GoalAddForm websiteId={websiteId} onClose={close} />}
</Dialog>
</Modal>