feat: minimum 6 chars
This commit is contained in:
parent
4aa1b62fc6
commit
736acde5c9
|
|
@ -719,7 +719,7 @@ Here are the things you can do:
|
|||
|
||||
{showError &&
|
||||
(!p.content || p.content.length < 6) && (
|
||||
<div className="my-[5px] text-red-600 text-[12px] font-[500]">
|
||||
<div className="my-[5px] !bg-red-600 text-[12px] font-[500]">
|
||||
{t(
|
||||
'the_post_should_be_at_least_6_characters_long',
|
||||
'The post should be at least 6 characters long'
|
||||
|
|
|
|||
|
|
@ -533,7 +533,7 @@ export const withProvider = function <T extends object>(
|
|||
/>
|
||||
</DropFiles>
|
||||
{(!val.content || val.content.length < 6) && (
|
||||
<div className="my-[5px] text-red-600 text-[12px] font-[500]">
|
||||
<div className="my-[5px] !bg-red-600 text-[12px] font-[500]">
|
||||
{t(
|
||||
'the_post_should_be_at_least_6_characters_long',
|
||||
'The post should be at least 6 characters long'
|
||||
|
|
|
|||
Loading…
Reference in New Issue