Skip to content

Commit 6033461

Browse files
e-gineerclaude
andcommitted
Remove deprecated argTypesRegex from Storybook config
Removes the deprecated `actions: { argTypesRegex: "^on[A-Z].*" }` configuration from the Storybook preview config. This was causing a deprecation warning with Storybook 10 and the visual test addon. Since none of our stories currently use action props (onClick, onChange, etc.), we can safely remove this configuration. If action handlers are needed in the future, they should be added explicitly using the `fn` function from `@storybook/test`. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 0333080 commit 6033461

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ui/dashboard/.storybook/preview.jsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ export const decorators = [
7676
];
7777

7878
export const parameters = {
79-
actions: { argTypesRegex: "^on[A-Z].*" },
8079
darkMode: {
8180
// Override the default dark theme
8281
dark: {

0 commit comments

Comments
 (0)