swsnu / swpp2021-team4

🚂 Tripick : Pick your trip! 🛤
2 stars 1 forks source link

Typescript error in Signup.tsx #105

Closed kjw7953 closed 2 years ago

kjw7953 commented 2 years ago

Error message

Already included file name 'path/Signup.tsx' differs from file name 'path/Signup.tsx' only in casing. The file is in the program because: Imported via "../containers/Signup" from file 'path/swpp2021-team4/frontend/src/pages/SignupPage.tsx' Matched by include pattern 'src' in 'path/swpp2021-team4/frontend/tsconfig.json' TS1261

1 | import React from "react";
2 | import NavBar from "../components/NavBar";
3 | import Signup from "../containers/Signup";
  |                    ^
4 | import '../styles/components/Signup.scss';
5 | import backgroundImage from '../static/png/signup_page.png';
6 |
kjw7953 commented 2 years ago

After relaunch the VSCode, this error disappears. I will close this issue without any code update.