Skip to content

Commit 944b50f

Browse files
Quotation marks.
1 parent d92ca55 commit 944b50f

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

pages/tutorials/React.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export default Hello;
132132
// helpers
133133

134134
function getExclamationMarks(numChars: number) {
135-
return Array(numChars).join("!");
135+
return Array(numChars).join('!');
136136
}
137137
```
138138

@@ -403,8 +403,8 @@ Its function will be to ensure that increments raise the enthusiasm level by 1,
403403
// src/reducers/index.tsx
404404

405405
import { EnthusiasmAction } from '../actions';
406-
import { StoreState } from "../types/index";
407-
import { INCREMENT_ENTHUSIASM, DECREMENT_ENTHUSIASM } from "../constants/index";
406+
import { StoreState } from '../types/index';
407+
import { INCREMENT_ENTHUSIASM, DECREMENT_ENTHUSIASM } from '../constants/index';
408408

409409
export function enthusiasm(state: StoreState, action: EnthusiasmAction): StoreState {
410410
switch (action.type) {
@@ -551,12 +551,12 @@ To put this all together, we need to create a store with an initial state, and s
551551

552552
```ts
553553
import { createStore } from 'redux';
554-
import { enthusiasm } from "./reducers/index";
555-
import { StoreState } from "./types/index";
554+
import { enthusiasm } from './reducers/index';
555+
import { StoreState } from './types/index';
556556

557557
const store = createStore<StoreState>(enthusiasm, {
558558
enthusiasmLevel: 1,
559-
languageName: "TypeScript",
559+
languageName: 'TypeScript',
560560
});
561561
```
562562

0 commit comments

Comments
 (0)