React & code pen problem

Hello,
My code work with vsCode but when I copie/past in code pen sometime it’s work sometime not:
https://codepen.io/ALL9000/pen/dyJXazG

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.