Fix translation source

This commit is contained in:
Marvin Sextro 2021-12-02 03:57:00 +01:00
parent c12e0f5d2e
commit 8746d3c400
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ function Button(props: ButtonProps): JSX.Element {
onClick={props.onClick}
className="focus:outline-none h-20 bg-gray-400 dark:bg-gray-600 hover:bg-gray-500 text-white font-semibold rounded-md items-center flex justify-center">
{
props.icon && <img src={props.icon} className="w-12 h-12 mr-2" />
props.icon && <img src={props.icon} className="w-12 h-12 mr-2 -ml-4" />
}
{props.text}
</button>

View File

@ -296,7 +296,7 @@ function Form(): JSX.Element {
<Card content={
<div className={`${isShareDialogAvailable ? "md:grid-cols-2": ""} grid-cols-1 grid gap-5`}>
{
isShareDialogAvailable && <Button text={t('common:share')} onClick={showShareDialog} />
isShareDialogAvailable && <Button text={t('index:share')} onClick={showShareDialog} />
}
<Button icon="kofi.png" text={t('common:donate')} onClick={() => {
window.open('https://ko-fi.com/marvinsxtr', '_blank');