Skip to content

Commit

Permalink
fix review notes
Browse files Browse the repository at this point in the history
  • Loading branch information
BlackySoul committed Dec 27, 2024
1 parent e5e9293 commit 2cc6f7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion website/pages/overview/_meta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
icon: Icon20Rectangle2HorizontalOutline,
},
'integrations': {
title: 'Интерграции',
title: 'Интеграции',
icon: Icon20Square4PlusOutline,
},
'advanced': {
Expand Down
4 changes: 2 additions & 2 deletions website/src/components/Versions/VersionsModal.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';
import { Div, ModalPage, ModalPageHeader, PanelSpinner, SimpleCell } from '@vkontakte/vkui';
import { useFetch } from '@vkontakte/vkui-docs-theme';
import Semver from 'semver';
import semverRcompare from 'semver/functions/rcompare';

interface VersionsProps {
error?: boolean;
Expand All @@ -24,7 +24,7 @@ function processData(data?: PackageInfoProps) {
}
const allVersions = Object.keys(data.versions);
const fromIndex = allVersions.indexOf(MINIMUM_VERSION);
return allVersions.slice(fromIndex).filter(filterPrereleaseVersion).sort(Semver.rcompare);
return allVersions.slice(fromIndex).filter(filterPrereleaseVersion).sort(semverRcompare);
}

interface VersionsModalProps extends VersionsProps {
Expand Down

0 comments on commit 2cc6f7e

Please sign in to comment.