Tasti per modificare lo stato di una soluzione e dettagli estetici
This commit is contained in:
@@ -17,7 +17,7 @@ export const Problem = ({ id, content, solutionsCount }: Props) => {
|
||||
<div class="problem-content">
|
||||
<Markdown source={content} />
|
||||
</div>
|
||||
{solutionsCount && solutionsCount > 0 && (
|
||||
{solutionsCount !== undefined && solutionsCount > 0 && (
|
||||
<div class="problem-footer">
|
||||
{solutionsCount} soluzion{solutionsCount === 1 ? 'e' : 'i'}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user