Skip to content

Commit

Permalink
(PLAT)-change to npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
rajmaddy89 committed Sep 13, 2023
1 parent 874547f commit 7e26b66
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
with:
persist-credentials: false
- name: Install and Build 🔧
run: npm install
run: npm ci
working-directory: managed/ui
- name: Build Storybook 🔧
run: npm run build-storybook
Expand Down
6 changes: 3 additions & 3 deletions managed/ui/src/stories/YBTabs.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export default meta;
// More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
export const Tabs = (args: any) => {
// More on args: https://storybook.js.org/docs/react/writing-stories/args
const [currentTab, setTab] = useState<string>('tab11');
const [currentTab, setTab] = useState<string>('tab1');

const handleChange = (_: any, tab: string) => {
setTab(tab);
Expand All @@ -31,12 +31,12 @@ export const Tabs = (args: any) => {
aria-label="tab section example"
{...args}
>
<MUItab label="YugabyteDB Open Source" value="tab11" disabled={args.disabled} />
<MUItab label="YugabyteDB Open Source" value="tab1" disabled={args.disabled} />
<MUItab label="Yugabyte Platform" value="tab2" disabled={args.disabled} />
<MUItab label="YugabyteDB Managed" value="tab3" disabled={args.disabled} />
</MUITabs>
<Box>
{currentTab === 'tab11' && (
{currentTab === 'tab1' && (
<Box m={2}>
<Typography variant="h2">{'YugabyteDB Open Source'}</Typography>
<Box mt={1}>
Expand Down

0 comments on commit 7e26b66

Please sign in to comment.