I guess you should add loading state while the component is loading
For example :
const Component = dynamic(() => import(`@/components/admin/tabs/${compName}.js`), {
ssr: false,
loading: () => <div>Loading...</div>
});
Or use:
if (!data) return <div>Loading...</div>;