diff --git a/v2/change_me/more-info/tabs.mdx b/v2/change_me/more-info/tabs.mdx index 76217a308..e0fc71e37 100644 --- a/v2/change_me/more-info/tabs.mdx +++ b/v2/change_me/more-info/tabs.mdx @@ -145,6 +145,20 @@ function someReactCode() { + + +1. This is an ordered list before the code snippet +2. This is some text before the code snippet + +```tsx +function someReactCode() { + let a = 1; + callFunc(a); +} +``` + + + - This is a list before the code snippet diff --git a/v2/src/components/tabs/FrontendPreBuiltUITabs.tsx b/v2/src/components/tabs/FrontendPreBuiltUITabs.tsx index e94b81605..e7bfe32a2 100644 --- a/v2/src/components/tabs/FrontendPreBuiltUITabs.tsx +++ b/v2/src/components/tabs/FrontendPreBuiltUITabs.tsx @@ -70,7 +70,7 @@ function DefaultReactJSTabItem() { } function DefaultAngularTabItem() { - return <>; + throw new Error("Should never come here cause we add angular tab item all the time"); } function DefaultVueTabItem() { diff --git a/v2/src/components/tabs/FrontendSDKTabs.tsx b/v2/src/components/tabs/FrontendSDKTabs.tsx index 76ac71ddf..e7d7d746c 100644 --- a/v2/src/components/tabs/FrontendSDKTabs.tsx +++ b/v2/src/components/tabs/FrontendSDKTabs.tsx @@ -71,7 +71,7 @@ function DefaultReactJSTabItem() { } function DefaultAngularTabItem() { - return <>; + throw new Error("Should never come here cause we add angular tab item all the time"); } function DefaultVueTabItem() {