We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ef3a68 commit b6ce377Copy full SHA for b6ce377
1 file changed
es6-babel-react-flux-karma/src/stores/GreetingStore.ts
@@ -7,7 +7,7 @@ class GreeterStore extends FluxStore<GreetingState> {
7
constructor(dispatcher: Flux.Dispatcher<Event>) {
8
const onDispatch = (action: Event) => {
9
if (action instanceof AddGreetingEvent) {
10
- const { payload } = action;
+ const {payload} = action;
11
this.state.newGreeting = '';
12
this.state.greetings = this.state.greetings.concat(payload);
13
this.emitChange();
0 commit comments