Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .storybook/preview.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ const preview: Preview = {
},
},
parameters: {
actions: { argTypesRegex: "^on.*" },
controls: {
matchers: {
color: /(background|color)$/i,
Expand Down
2 changes: 1 addition & 1 deletion app/components/CardWithImage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export const CardWithImage = ({ optDelayedPurchase = false }) => {
<p>If a dog chews shoes whose shoes does he choose?</p>
<div className="card-actions justify-end">
{!optDelayedPurchase ? (
<button className="btn-primary btn">Buy Now</button>
<button className="btn-secondary btn">Buy Now</button>
) : null}
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions app/components/Steps.stories.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Meta, StoryObj } from "@storybook/react";
import { INITIAL_VIEWPORTS } from "@storybook/addon-viewport";
// import { INITIAL_VIEWPORTS } from "@storybook/addon-viewport";

import { Steps } from "./Steps";

Expand All @@ -12,7 +12,7 @@ const meta = {
//👇 The viewports object from the Essentials addon
viewport: {
//👇 The viewports you want to use
viewports: INITIAL_VIEWPORTS,
// viewports: INITIAL_VIEWPORTS,
defaultViewport: "ipad12p",
},
},
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
"marked": "^5.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.25.1",
"theme-change": "^2.5.0",
"tiny-invariant": "^1.3.1"
},
Expand Down
Loading