jam411 3 лет назад
Родитель
Сommit
1917fe9bbf

+ 2 - 2
packages/app/src/components/Admin/PluginsExtension/PluginCard.tsx

@@ -1,13 +1,13 @@
 // import { faCircleArrowDown, faCircleCheck } from '@fortawesome/free-solid-svg-icons';
 // import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
 import Image from 'next/image';
-import Link from 'next/link';
+// import Link from 'next/link';
 
 import { SearchResultItem } from '~/models/SearchResultItem';
 
 export const PluginCard = (props: SearchResultItem) => {
   const {
-    name, full_name, description, html_url, topics, stargazers_count, owner,
+    name, fullName, description, htmlUrl, topics, stargazersCount, owner,
   } = props;
 
   return (

+ 3 - 3
packages/app/src/models/SearchResultItem.ts

@@ -6,10 +6,10 @@ export type SearchResultItem = {
     html_url: string,
     avatar_url: string,
   },
-  full_name: string,
-  html_url: string,
+  fullName: string,
+  htmlUrl: string,
   description: string,
   topics: string[],
   homepage: string,
-  stargazers_count: number,
+  stargazersCount: number,
 }