React's new Fast Refresh wants the components exported by react-svg-loader to have a name. Here's the full error:
Anonymous arrow functions cause Fast Refresh to not preserve local component state.
Please add a name to your function, for example:
Before
export default () => <div />;
After
const Named = () => <div />;
export default Named;
React's new Fast Refresh wants the components exported by
react-svg-loaderto have a name. Here's the full error: