当我从
保存文件index.js vscode格式时render(
<Provider store = { store }>
{routes}
</Provider>,
document.getElementById('root')
);
到
render( <
Provider store = { store } > { routes } <
/Provider>,
document.getElementById('root')
);
之后该程序无法正常工作,我有错误消息
React.Children.only expected to receive a single React element child.
我需要更改vscode中的哪些设置来修复此错误?