Skip to content

Commit

Permalink
Hide report button
Browse files Browse the repository at this point in the history
  • Loading branch information
sonic16x committed Nov 9, 2024
1 parent a7c87ad commit e4c06e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "interslavic",
"version": "1.22.1",
"version": "1.22.2",
"license": "MIT",
"description": "Interslavic Dictionary",
"author": "Sergey Cherebedov",
Expand Down
4 changes: 4 additions & 0 deletions src/components/ResultsCard/ResultsCard.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@
line-height: var(--text-s-line);
border: none;
color: var(--primary-color);

&.hide {
display: none;
}
}

&.short {
Expand Down
2 changes: 1 addition & 1 deletion src/components/ResultsCard/ResultsCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const ResultsCard =
{short ? <ShareIcon /> : t('shareWord')}
</button>
<button
className="results-card__action-button"
className="results-card__action-button hide"
type="button"
aria-label={t('reportWordError')}
onClick={showWordErrorModal}
Expand Down

0 comments on commit e4c06e2

Please sign in to comment.