feat: minimum 6 chars

This commit is contained in:
Nevo David 2025-06-03 23:33:12 +07:00
parent 4aa1b62fc6
commit 736acde5c9
2 changed files with 2 additions and 2 deletions

View File

@ -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'

View File

@ -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'