Removed root component from promote screen

This commit is contained in:
Mustafa Buyukcelebi 2019-07-18 10:31:17 +03:00
parent 0c55adfbf7
commit a77c4f4e65
2 changed files with 20 additions and 20 deletions

View File

@ -107,7 +107,7 @@ const stackNavigatior = createStackNavigator(
},
},
[ROUTES.SCREENS.PROMOTE]: {
screen: RootComponent()(Promote),
screen: Promote,
navigationOptions: {
header: () => null,
},

View File

@ -1,21 +1,21 @@
import { Bookmarks } from "./bookmarks";
import { Drafts } from "./drafts";
import { Editor } from "./editor";
import { Follows } from "./follows";
import { Home } from "./home";
import { Launch } from "./launch";
import { Login } from "./login";
import { Points } from "./points";
import { Notification } from "./notification";
import { PinCode } from "./pinCode";
import { Post } from "./post";
import { Profile } from "./profile";
import { Settings } from "./settings";
import { Voters } from "./voters";
import SteemConnect from "./steem-connect/steemConnect";
import { SearchResult } from "./searchResult";
import Transfer from "./transfer";
import Promote from "./promote/screen/promoteScreen";
import { Bookmarks } from './bookmarks';
import { Drafts } from './drafts';
import { Editor } from './editor';
import { Follows } from './follows';
import { Home } from './home';
import { Launch } from './launch';
import { Login } from './login';
import { Points } from './points';
import { Notification } from './notification';
import { PinCode } from './pinCode';
import { Post } from './post';
import { Profile } from './profile';
import { Settings } from './settings';
import { Voters } from './voters';
import SteemConnect from './steem-connect/steemConnect';
import { SearchResult } from './searchResult';
import Transfer from './transfer';
import Promote from './promote/screen/promoteScreen';
export {
Bookmarks,
@ -35,5 +35,5 @@ export {
Settings,
SteemConnect,
Transfer,
Voters
Voters,
};