Skip to content

Commit 9b38504

Browse files
committed
BUGFIX: Fix a typo in the store module example
1 parent 480b9d8 commit 9b38504

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

packages/create-react-microservice-scaffold/src/build/templates/redux-module/{{=it.name.camelCase}}/actions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
import {createAction} from 'redux-actions';
44
import {createActionTypeFactory} from 'redux-lumbergh';
5-
import {namepsace, moduleId} from './config.js';
5+
import {namespace, moduleId} from './config.js';
66

77
//
88
// Action types
99
//
10-
const createActionType = createActionTypeFactory(namepsace, moduleId);
10+
const createActionType = createActionTypeFactory(namespace, moduleId);
1111

1212
const actionTypes = {
1313
SET_COUNTER: createActionType('SET_COUNTER')
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// @flow
22

3-
export const namepsace = '@company-scope/my-fancy-ui';
3+
export const namespace = '@company-scope/my-fancy-ui';
44
export const moduleId = '{{=it.name.camelCase}}';

packages/create-react-microservice-scaffold/src/packages/my-fancy-ui/src/store/modules/comments/actions.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ import type {CommentType} from './types.js';
44

55
import {createAction} from 'redux-actions';
66
import {createActionTypeFactory} from 'redux-lumbergh';
7-
import {moduleId, namepsace} from './config.js';
7+
import {moduleId, namespace} from './config.js';
88

99
//
1010
// Action types
1111
//
12-
const createActionType = createActionTypeFactory(namepsace, moduleId);
12+
const createActionType = createActionTypeFactory(namespace, moduleId);
1313

1414
const actionTypes = {
1515
LOAD_COMMENTS: createActionType('LOAD_COMMENTS'),
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// @flow
22

3-
export const namepsace = '@company-scope/my-fancy-ui';
3+
export const namespace = '@company-scope/my-fancy-ui';
44
export const moduleId = 'comments';

0 commit comments

Comments
 (0)