Issue in calling the FDK methods in react theme?

Hi Team

FDK methods are not working in the react theme. In index.js, I am passing the values/credentials explicitly in this way and then creating the FPIClient as shown in below code snippet but its not working .

For instance, while calling the getProducts/listProducts method, I am getting zero items .
What is the issue here.

export default async ({
  applicationID = "APP_ID",
  applicationToken = "APP_TOKEN",
  domain = "milkbasketstore.jiox1.de" ,
  storeInitialData = {},
}) => {
  const fpiOptions = {
    applicationID,
    applicationToken,
    domain,
    storeInitialData,
  };
  const { client } = new FPIClient(fpiOptions);

...

Also , from where we got the value of storeInitialData here ?

@Jalak_Vora @SoumyaAcharya