Skip to content

Commit

Permalink
fix: issue title input flicker (makeplane#4775)
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolsinghbhatia authored Jun 12, 2024
1 parent aa92ace commit eb34dca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/core/components/issues/title-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export const IssueTitleInput: FC<IssueTitleInputProps> = observer((props) => {
/255
</div>
</div>
{title.length === 0 && <span className="text-sm text-red-500">Title is required</span>}
{title.length && title.length === 0 && <span className="text-sm text-red-500">Title is required</span>}
</div>
);
});

0 comments on commit eb34dca

Please sign in to comment.