React & code pen problem

My code work with vsCode but when I copie/past in code pen sometime it’s work sometime not:

What’s wrong ?

It’s trying to import local code from local files. Codepen can’t do that.

I deleted css file but nothing changed.

that’s worked few time ago :woozy_face: :face_with_monocle:

I just deleted

import reportWebVitals from './reportWebVitals';

and that’s work

Yeah, you can’t import local files if there is no “local”.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.