File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
WorkspaceSettingsPage/WorkspaceSchedulePage Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change
1
+ import { action } from "@storybook/addon-actions" ;
1
2
import type { Meta , StoryObj } from "@storybook/react" ;
2
3
import { MockGroup } from "testHelpers/entities" ;
3
4
import { SettingsGroupPageView } from "./SettingsGroupPageView" ;
4
- import { action } from "@storybook/addon-actions/*" ;
5
5
6
6
const meta : Meta < typeof SettingsGroupPageView > = {
7
7
title : "pages/GroupsPage/SettingsGroupPageView" ,
Original file line number Diff line number Diff line change
1
+ import { action } from "@storybook/addon-actions" ;
1
2
import type { Meta , StoryObj } from "@storybook/react" ;
2
3
import dayjs from "dayjs" ;
3
4
import advancedFormat from "dayjs/plugin/advancedFormat" ;
@@ -10,7 +11,6 @@ import {
10
11
import { emptyTTL } from "pages/WorkspaceSettingsPage/WorkspaceSchedulePage/ttl" ;
11
12
import { MockTemplate , mockApiError } from "testHelpers/entities" ;
12
13
import { WorkspaceScheduleForm } from "./WorkspaceScheduleForm" ;
13
- import { action } from "@storybook/addon-actions/*" ;
14
14
15
15
dayjs . extend ( advancedFormat ) ;
16
16
dayjs . extend ( utc ) ;
@@ -38,6 +38,7 @@ const meta: Meta<typeof WorkspaceScheduleForm> = {
38
38
component : WorkspaceScheduleForm ,
39
39
args : {
40
40
template : mockTemplate ,
41
+ onCancel : action ( "onCancel" ) ,
41
42
} ,
42
43
} ;
43
44
You can’t perform that action at this time.
0 commit comments