Skip to content

Commit

Permalink
more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Aug 5, 2024
1 parent adefd9a commit 85f4f27
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
14 changes: 14 additions & 0 deletions v2/change_me/more-info/tabs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,20 @@ function someReactCode() {

</TabItem>

<TabItem value="angular">

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);
}
```

</TabItem>

<TabItem value="vanillajs">

- This is a list before the code snippet
Expand Down
2 changes: 1 addition & 1 deletion v2/src/components/tabs/FrontendPreBuiltUITabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion v2/src/components/tabs/FrontendSDKTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 85f4f27

Please sign in to comment.