Menu not displaying


I submit a WordPress item on ThemeForest. The Envato reviewer said:
Menu not displaying:

But my theme menu is working fine.

I have tried to find this issue but didn’t found like this. Here are some screenshots from my theme menu code.

I didn’t face this problem past. Can someone explain what sort of update/fixing I need to do in my theme to resubmit it?

Thanks in advance😊

you can try with this way:

function register_primary_menus(){
		array('main-menu' => esc_html__('Primary Menu', 'text-domian'),
add_action('init', 'register_primary_menus');