Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(rn): refactor MyAccount files and folders
- Loading branch information
Showing
5 changed files
with
36 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 9 additions & 3 deletions
12
...omponents/Screens/Settings/MyPublicKey.js → ...Screens/Settings/MyAccount/MyPublicKey.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
client/react-native/common/components/Screens/Settings/MyAccount/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import { createSubStackNavigator } from '../../../../helpers/react-navigation' | ||
import MyAccount from './MyAccount' | ||
import MyPublicKey from './MyPublicKey' | ||
import MyQRCode from './MyQRCode' | ||
|
||
export default createSubStackNavigator( | ||
{ | ||
'my-account/list': MyAccount, | ||
'my-account/my-qrcode': MyPublicKey, | ||
'my-account/my-publickey': MyQRCode, | ||
}, | ||
{ | ||
initialRouteName: 'my-account/list', | ||
} | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters