From 84d5368e880fa4f2b1c389b506a757d3182861fb Mon Sep 17 00:00:00 2001 From: Anthony Laibe Date: Fri, 24 Aug 2018 14:17:37 +0100 Subject: [PATCH] Update provider name method --- templates/demo/app/components/storage.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/demo/app/components/storage.js b/templates/demo/app/components/storage.js index 88526c064..0de4815c8 100644 --- a/templates/demo/app/components/storage.js +++ b/templates/demo/app/components/storage.js @@ -152,7 +152,7 @@ class Storage extends React.Component { } isIpfs(){ - return EmbarkJS.Storage.currentStorageName === 'ipfs'; + return EmbarkJS.Storage.currentProviderName === 'ipfs'; } render() {