Browse Source

fix index

Daniel Zlotin 8 years ago
parent
commit
5342932c9e
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      playground/src/app.js
  2. 1
    1
      src/index.js

+ 1
- 1
playground/src/app.js View File

28
 }
28
 }
29
 
29
 
30
 export function start() {
30
 export function start() {
31
-  Navigation.onAppLaunched('onAppLaunched', () => {
31
+  Navigation.onAppLaunched(() => {
32
     Navigation.registerContainer(`com.example.WelcomeScreen`, () => WelcomeScreen);
32
     Navigation.registerContainer(`com.example.WelcomeScreen`, () => WelcomeScreen);
33
     Navigation.startApp({
33
     Navigation.startApp({
34
       container: {
34
       container: {

+ 1
- 1
src/index.js View File

1
-import * as Navigation from './Navigation';
1
+import Navigation from './Navigation';
2
 
2
 
3
 module.exports = Navigation;
3
 module.exports = Navigation;
4
 module.exports.default = Navigation;
4
 module.exports.default = Navigation;