-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
- You did not modify metadata in
index.htmlfrom the default vite template - Declaration in
.d.tsshould have been added to already existingvite-end.d.tstypings file - You are importing
leaflet/dist/leaflet.cssin multiple places around your app, it would have been enough to import in inApp.tsx. Alsosrc/leaflet.cssis completely unused since you are using styles from the node module. - There are a ton of unused (and probably conflicting) css rules in
index.cssandApp.csssince you are using MUI for styling. - You could have used the
styleOverridesincreateThemeinstead of using any css files at all since you are using MUI theme. - The map should have been zoomed in on Brno on load
- Unescaped
in the text. You can for example use theDOMParserto unescape text like this. - App like this should not have been restricted to this small
max-widthbut should have stretched to full window width. - Many of the files aren't formatted properly, having extra spaces/tabs/lines, etc.
- Unused
src/assets/react.svgin source. - Try to keep all assets like
iconChange.pnginassetsfolder. GithubAuthProvidershould be initialized only once, putting it inside body of a hook will cause it to be recreated every render.- You can use a
finallyblock for setting stuff likesetIsPending(false)that should be always executed. - In
src/firebase/firebase-config.tsthere is really no need for thegetFirebaseConfigfunction sinceconfigis completely static variable. - You are passing
setCurrentUsertoAuthContexteven though it's not used outside of the provider at all. - There is a random
let response: anyinMapComponent.tsx - Try naming your components the same as their file name when default exporting, otherwise, it can be harder to find them properly.
- For every click on a star rating a completely new entry is created in the favorites list, resulting in duplicates.
- Lots of console logs throughout the whole app.
*20
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels