diff options
author | Vijay A <vraravam@users.noreply.github.com> | 2022-07-02 05:13:38 +0530 |
---|---|---|
committer | Vijay Aravamudhan <vraravam@users.noreply.github.com> | 2022-07-02 06:19:03 +0530 |
commit | d16cc1f2c59818e53f28b4d6b4d27250331f15d7 (patch) | |
tree | 57bf4d149ec2be88dd0d351142998ce96db0d659 /src/features/workspaces/actions.ts | |
parent | chore: correctly export/import ui elements (diff) | |
download | ferdium-app-d16cc1f2c59818e53f28b4d6b4d27250331f15d7.tar.gz ferdium-app-d16cc1f2c59818e53f28b4d6b4d27250331f15d7.tar.zst ferdium-app-d16cc1f2c59818e53f28b4d6b4d27250331f15d7.zip |
Use default exports instead of named exports
Diffstat (limited to 'src/features/workspaces/actions.ts')
-rw-r--r-- | src/features/workspaces/actions.ts | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/features/workspaces/actions.ts b/src/features/workspaces/actions.ts index 5e7e6e721..b7f8b6b90 100644 --- a/src/features/workspaces/actions.ts +++ b/src/features/workspaces/actions.ts | |||
@@ -2,7 +2,7 @@ import PropTypes from 'prop-types'; | |||
2 | import Workspace from './models/Workspace'; | 2 | import Workspace from './models/Workspace'; |
3 | import { createActionsFromDefinitions } from '../../actions/lib/actions'; | 3 | import { createActionsFromDefinitions } from '../../actions/lib/actions'; |
4 | 4 | ||
5 | export const workspaceActions = createActionsFromDefinitions( | 5 | export default createActionsFromDefinitions( |
6 | { | 6 | { |
7 | edit: { | 7 | edit: { |
8 | workspace: PropTypes.instanceOf(Workspace).isRequired, | 8 | workspace: PropTypes.instanceOf(Workspace).isRequired, |
@@ -24,7 +24,5 @@ export const workspaceActions = createActionsFromDefinitions( | |||
24 | openWorkspaceSettings: {}, | 24 | openWorkspaceSettings: {}, |
25 | toggleKeepAllWorkspacesLoadedSetting: {}, | 25 | toggleKeepAllWorkspacesLoadedSetting: {}, |
26 | }, | 26 | }, |
27 | PropTypes.checkPropTypes, | 27 | PropTypes.checkPropTypes |
28 | ); | 28 | ); |
29 | |||
30 | export default workspaceActions; | ||