We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d35f948 + 3d2f159 commit 895b6d4Copy full SHA for 895b6d4
docs/integrations/thunks.md
@@ -30,10 +30,11 @@ const store = createStore(
30
After following the setup above, `getFirebase` function becomes available within your thunks as the third argument:
31
32
```javascript
33
-const sendNotification = (payload) => {
+const sendNotification = (payload) => ({
34
type: NOTIFICATION,
35
payload
36
-}
+})
37
+
38
export const addTodo = (newTodo) =>
39
(dispatch, getState, getFirebase) => {
40
const firebase = getFirebase()
0 commit comments