Merge pull request #160 from bigcapitalhq/abouhuolia/big-17-issue-in-manual-journal-placeholder-text

fix(webapp): manual journal placeholder text
This commit is contained in:
Ahmed Bouhuolia
2023-06-19 16:02:12 +02:00
committed by GitHub

View File

@@ -1,6 +1,7 @@
// @ts-nocheck // @ts-nocheck
import React from 'react'; import React from 'react';
import styled from 'styled-components'; import styled from 'styled-components';
import intl from 'react-intl-universal';
import { FFormGroup, FEditableText, FormattedMessage as T } from '@/components'; import { FFormGroup, FEditableText, FormattedMessage as T } from '@/components';
export function MakeJournalFormFooterLeft() { export function MakeJournalFormFooterLeft() {
@@ -13,7 +14,7 @@ export function MakeJournalFormFooterLeft() {
> >
<FEditableText <FEditableText
name={'description'} name={'description'}
placeholder={<T id={'make_jorunal.decscrption.placeholder'} />} placeholder={intl.get('make_jorunal.decscrption.placeholder')}
/> />
</DescriptionFormGroup> </DescriptionFormGroup>
</React.Fragment> </React.Fragment>