From 3ddd0b5b50dcc2f1107d351b7386b67f881211a0 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 17 Oct 2019 13:57:22 +0100 Subject: [PATCH] remove getSync from channel creation success --- src/page/channelCreator/view.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/page/channelCreator/view.js b/src/page/channelCreator/view.js index dd046b2..63e2b74 100644 --- a/src/page/channelCreator/view.js +++ b/src/page/channelCreator/view.js @@ -448,7 +448,6 @@ export default class ChannelCreator extends React.PureComponent { showCreateChannel: false, }); - logPublish(channelClaim); if (onChannelChange) { onChannelChange(channelName); } @@ -458,8 +457,7 @@ export default class ChannelCreator extends React.PureComponent { notify({ message: 'The channel was successfully created.' }); this.showChannelList(); - // sync wallet - NativeModules.UtilityModule.getSecureValue(Constants.KEY_WALLET_PASSWORD).then(password => getSync(password)); + logPublish(channelClaim); }; const failure = () => {