Skip to content

Commit 89dd3e7

Browse files
author
Matthieu Napoli
committed
Improve comment
1 parent 165aaec commit 89dd3e7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

App/Sagas/StartupSaga.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,10 @@ export function* startup() {
99
// Dispatch a redux action using `put()`
1010
// @see https://redux-saga.js.org/docs/basics/DispatchingActions.html
1111
yield put(ExampleActions.fetchTemperature())
12-
// Do operation here :
12+
13+
// Add more operations you need to do at startup here
1314
// ...
14-
// When operations are finished redirect to InitialPage
15+
16+
// When those operations are finished we redirect to the main screen
1517
NavigationService.navigateAndReset('InitialPage')
1618
}

0 commit comments

Comments
 (0)