Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
InvestCustomer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Giang Tran
InvestCustomer
Commits
5e6d87f5
Commit
5e6d87f5
authored
May 04, 2021
by
Giang Tran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit api cqg
parent
e9659596
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
project.pbxproj
ios/Invest.xcodeproj/project.pbxproj
+1
-1
PacketCQG.js
src/Screens/Account/PacrtCQG/PacketCQG.js
+1
-1
No files found.
ios/Invest.xcodeproj/project.pbxproj
View file @
5e6d87f5
...
@@ -442,7 +442,7 @@
...
@@ -442,7 +442,7 @@
);
);
runOnlyForDeploymentPostprocessing
=
0
;
runOnlyForDeploymentPostprocessing
=
0
;
shellPath
=
/bin/sh
;
shellPath
=
/bin/sh
;
shellScript
=
"export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"
;
shellScript
=
"export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh
\n
"
;
};
};
18F4A22C3F5C6E0E974FEED1
/* [CP] Check Pods Manifest.lock */
=
{
18F4A22C3F5C6E0E974FEED1
/* [CP] Check Pods Manifest.lock */
=
{
isa
=
PBXShellScriptBuildPhase
;
isa
=
PBXShellScriptBuildPhase
;
...
...
src/Screens/Account/PacrtCQG/PacketCQG.js
View file @
5e6d87f5
...
@@ -14,6 +14,7 @@ import {showLoading, hideLoading} from '../../../actions/loadingAction';
...
@@ -14,6 +14,7 @@ import {showLoading, hideLoading} from '../../../actions/loadingAction';
import
{
useNavigation
}
from
'@react-navigation/native'
;
import
{
useNavigation
}
from
'@react-navigation/native'
;
import
{
saveUserToRedux
}
from
'../../../actions/users'
;
import
{
saveUserToRedux
}
from
'../../../actions/users'
;
import
AppText
from
'../../../components/AppText'
;
import
AppText
from
'../../../components/AppText'
;
import
I18n
from
'../../../helper/i18/i18n'
;
const
PacketCQG
=
(
props
)
=>
{
const
PacketCQG
=
(
props
)
=>
{
const
[
listData
,
setListData
]
=
useState
([]);
const
[
listData
,
setListData
]
=
useState
([]);
...
@@ -36,7 +37,6 @@ const PacketCQG = (props) => {
...
@@ -36,7 +37,6 @@ const PacketCQG = (props) => {
props
.
showLoading
();
props
.
showLoading
();
const
res
=
await
openCQG
({
packages
:
newList
});
const
res
=
await
openCQG
({
packages
:
newList
});
props
.
hideLoading
();
props
.
hideLoading
();
console
.
log
(
res
);
if
(
res
.
data
.
code
==
200
)
{
if
(
res
.
data
.
code
==
200
)
{
props
.
saveUserToRedux
(
res
.
data
.
data
);
props
.
saveUserToRedux
(
res
.
data
.
data
);
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment