From 7fd3184a9372cfc2d7eda4aa4feaa4009d57c5e0 Mon Sep 17 00:00:00 2001 From: Mishig Davaadorj Date: Wed, 11 Oct 2023 13:53:34 +0200 Subject: [PATCH] some libs dont have hub docs --- js/src/lib/interfaces/Libraries.ts | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) diff --git a/js/src/lib/interfaces/Libraries.ts b/js/src/lib/interfaces/Libraries.ts index fbce004c5..ff4653930 100644 --- a/js/src/lib/interfaces/Libraries.ts +++ b/js/src/lib/interfaces/Libraries.ts @@ -72,7 +72,7 @@ export interface LibraryUiElement { /** * URL to library's docs */ - docsUrl: string; + docsUrl?: string; /** * Code snippet displayed on model page */ @@ -635,7 +635,6 @@ export const MODEL_LIBRARIES_UI_ELEMENTS: Partial