Yashwin Ghosh

yashwinghosh
Product Designer ✌️

List not loading in preview build

Hey everyone!

I've added an api endpoint to a fetch list. While in the design editor I can see the result from the api and add styling but when I build a live preview or use expo on my phone, it doesn't load anythingΒ 

Am I doing something wrong? attached screenshots belowΒ 

Wrapping <App /> with a component in index.js

Hey,Β 

I'm trying to use a package called Moralis to build a dapp

According to the documentation, I need to wrap the <App /> in index.jsΒ with a Moralis component like belowΒ 

...Β 

<MoralisProvider appId="xxxxxxxx" serverUrl="xxxxxxxx">
  <App />
</MoralisProvider>

How do I do this on draftbit?Β