gbowne1/reactsocialnetwork

[Bug]: CreateEventModal has CSS imported on wrong line

gbowne1 opened this issue · 2 comments

Describe the Bug

ESLint says "Import in body of module; reorder to top." :

import "./CreateEventModal.css";

is on line #20

[eslint] 
src/pages/Events/CreateEventModal/CreateEventModal.jsx
  Line 20:1:  Import in body of module; reorder to top  import/first

Steps to Reproduce

Run lint on the currently existing code

Screenshots

No response

Which device are you using?

PC, Desktop, Intel Core i7-3770k

Which operating system are you using?

Linux x64, Debian 11 Base

Which browser are you using?

Firefox 112

Additional Context

No response

Contribute

  • I am willing to contribute and submit a pull request

I'm making a fix for the e2e tests that will also include this fix, so I can take this.

Ok @manuel12 I have no idea where or at which point this error crept in at.

I only noticed when I went to go lint the project