mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-19 21:25:39 +00:00
add spacing in general, minor change
This commit is contained in:
parent
a585fe4d54
commit
1ae7771290
@ -1,6 +1,6 @@
|
|||||||
import Exit from '../assets/exit.svg';
|
import Exit from '../assets/exit.svg';
|
||||||
import { ActiveState } from '../models/misc';
|
import { ActiveState } from '../models/misc';
|
||||||
|
import { useTranslation } from 'react-i18next';
|
||||||
function ConfirmationModal({
|
function ConfirmationModal({
|
||||||
message,
|
message,
|
||||||
modalState,
|
modalState,
|
||||||
@ -18,6 +18,7 @@ function ConfirmationModal({
|
|||||||
cancelLabel?: string;
|
cancelLabel?: string;
|
||||||
handleCancel?: () => void;
|
handleCancel?: () => void;
|
||||||
}) {
|
}) {
|
||||||
|
const { t } = useTranslation();
|
||||||
return (
|
return (
|
||||||
<article
|
<article
|
||||||
className={`${
|
className={`${
|
||||||
@ -54,7 +55,7 @@ function ConfirmationModal({
|
|||||||
}}
|
}}
|
||||||
className="cursor-pointer rounded-3xl px-5 py-2 text-sm font-medium hover:bg-gray-100 dark:bg-transparent dark:text-light-gray dark:hover:bg-[#767183]/50"
|
className="cursor-pointer rounded-3xl px-5 py-2 text-sm font-medium hover:bg-gray-100 dark:bg-transparent dark:text-light-gray dark:hover:bg-[#767183]/50"
|
||||||
>
|
>
|
||||||
{cancelLabel ? cancelLabel : 'Cancel'}
|
{cancelLabel ? cancelLabel : t('cancel')}
|
||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -84,7 +84,7 @@ const General: React.FC = () => {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className="mb-5">
|
<div className="mb-5">
|
||||||
<p className="font-bold text-jet dark:text-bright-gray">
|
<p className="mb-2 font-bold text-jet dark:text-bright-gray">
|
||||||
{t('settings.general.selectLanguage')}
|
{t('settings.general.selectLanguage')}
|
||||||
</p>
|
</p>
|
||||||
<Dropdown
|
<Dropdown
|
||||||
|
Loading…
Reference in New Issue
Block a user