diff --git a/v2/src/components/tabs/FrontendPreBuiltUITabs.tsx b/v2/src/components/tabs/FrontendPreBuiltUITabs.tsx index e7bfe32a2..e94b81605 100644 --- a/v2/src/components/tabs/FrontendPreBuiltUITabs.tsx +++ b/v2/src/components/tabs/FrontendPreBuiltUITabs.tsx @@ -70,7 +70,7 @@ function DefaultReactJSTabItem() { } function DefaultAngularTabItem() { - throw new Error("Should never come here cause we add angular tab item all the time"); + return <>; } function DefaultVueTabItem() { diff --git a/v2/src/components/tabs/FrontendSDKTabs.tsx b/v2/src/components/tabs/FrontendSDKTabs.tsx index e7d7d746c..76ac71ddf 100644 --- a/v2/src/components/tabs/FrontendSDKTabs.tsx +++ b/v2/src/components/tabs/FrontendSDKTabs.tsx @@ -71,7 +71,7 @@ function DefaultReactJSTabItem() { } function DefaultAngularTabItem() { - throw new Error("Should never come here cause we add angular tab item all the time"); + return <>; } function DefaultVueTabItem() {