Skip to content

Commit

Permalink
fix(verb): derive participles based on verb type (#291)
Browse files Browse the repository at this point in the history
* chore: bump @interslavic/utils
  • Loading branch information
noomorph authored Jul 2, 2024
1 parent d30b28a commit 52ce1d0
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"dependencies": {
"@ag-grid-community/client-side-row-model": "25.2.0",
"@ag-grid-community/core": "25.2.0",
"@interslavic/utils": "^3.1.0",
"@interslavic/utils": "^3.1.8",
"classnames": "2.3.2",
"lodash": "4.17.21",
"md5": "2.3.0",
Expand Down
6 changes: 3 additions & 3 deletions src/components/Modals/DetailModal/DetailModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ class DetailModalInternal extends Component<IDetailModalInternal> {
wordComponent = this.renderAdjectiveDetails(word, details);
break;
case 'verb':
wordComponent = this.renderVerbDetails(word, add);
wordComponent = this.renderVerbDetails(word, add, details);
break;
case 'numeral':
wordComponent = this.renderNumeralDetails(word, details);
Expand Down Expand Up @@ -242,8 +242,8 @@ class DetailModalInternal extends Component<IDetailModalInternal> {
}
}

private renderVerbDetails(word, add) {
const data = conjugationVerb(word, add);
private renderVerbDetails(word, add, details) {
const data = conjugationVerb(word, add, details);
if (data === null) {
return (
<div>
Expand Down

0 comments on commit 52ce1d0

Please sign in to comment.