mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 04:37:11 +01:00
Fixed spacing issue in confirmation form.
This commit is contained in:
parent
eabfec9075
commit
ed013d5d58
1 changed files with 2 additions and 2 deletions
|
|
@ -1,5 +1,5 @@
|
||||||
import { ReactNode } from 'react';
|
import { ReactNode } from 'react';
|
||||||
import { Row, Button, FormSubmitButton, Form, FormButtons } from '@umami/react-zen';
|
import { Box, Button, FormSubmitButton, Form, FormButtons } from '@umami/react-zen';
|
||||||
import { useMessages } from '@/components/hooks';
|
import { useMessages } from '@/components/hooks';
|
||||||
|
|
||||||
export interface ConfirmationFormProps {
|
export interface ConfirmationFormProps {
|
||||||
|
|
@ -25,7 +25,7 @@ export function ConfirmationForm({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Form onSubmit={onConfirm} error={getErrorMessage(error)}>
|
<Form onSubmit={onConfirm} error={getErrorMessage(error)}>
|
||||||
<Row marginY="4">{message}</Row>
|
<Box marginY="4">{message}</Box>
|
||||||
<FormButtons>
|
<FormButtons>
|
||||||
<Button onPress={onClose}>{formatMessage(labels.cancel)}</Button>
|
<Button onPress={onClose}>{formatMessage(labels.cancel)}</Button>
|
||||||
<FormSubmitButton
|
<FormSubmitButton
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue