ACF data not found in frontity.state.source

I have added ACF fields in post but data is not appear in frontity.state.source. I have attched screenshot for your referance

You can replicate it from here :

import React from 'react';
import {connect} from 'frontity';

const Page = ({state})=>{

    const data = state.source.get(state.router.link)
    const page = state.source.page[data.id];
    
        return(
            <div>
               <h2 dangerouslySetInnerHTML={{__html:page.title.rendered}}></h2>
               <div dangerouslySetInnerHTML={{__html:page.content.rendered}}></div>    
            <p dangerouslySetInnerHTML={{__html:page.acf.building_number+', '+page.acf.area_name}}></p> 
               <img src={page.acf.company_visitcard}></img> 
                              
            </div>
        )
 
}
export default connect(Page);

I forget that acf placed inside page.

frontity.state.source.page.acf

data is blocking due to CORS error which is fixed later on.

Hi @vasimmca2015

I’m glad you were able to solve your issue.
Just to provide some more references for this topic here you have a Frontity Talk where we talked about how to use Custom Post Types and Custom Taxonomies in Frontity.