diff --git a/components/Script.tsx b/components/Script.tsx index 3020bab..93d3eae 100644 --- a/components/Script.tsx +++ b/components/Script.tsx @@ -230,7 +230,7 @@ function ScriptItem({
-
+
{item.port !== 0 && (

@@ -244,7 +244,21 @@ function ScriptItem({ {item.port}

- )} + )} + {item.interface != 0 && ( +
+

+ Interface: +

{" "} + +
+ )}
{item.website && ( diff --git a/lib/types.ts b/lib/types.ts index b7d66d4..a679c51 100644 --- a/lib/types.ts +++ b/lib/types.ts @@ -1,3 +1,5 @@ +import { StringToBoolean } from "class-variance-authority/types"; + export type ScriptProps = { scriptID: string; }; @@ -31,6 +33,7 @@ export type Script = { website: string; isMostViewed: boolean; mostViewedPosition: number; + interface: string; }; export interface Category {